Merge branch 'master-2.0'

This commit is contained in:
Francesco Abbate
2022-01-19 20:31:33 +01:00
11 changed files with 671 additions and 163 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ local commands = {
end
for i,docview in ipairs(core.get_views_referencing_doc(doc())) do
local node = core.root_view.root_node:get_node_for_view(docview)
node:close_view(core.root_view, docview)
node:close_view(core.root_view.root_node, docview)
end
os.remove(filename)
core.log("Removed \"%s\"", filename)