Fix error introduced with commit c0ad86d

This commit is contained in:
Francesco Abbate
2021-03-18 15:46:44 +01:00
parent 461266e97d
commit 04063ff47e
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -12,9 +12,7 @@ local t = {
end,
["root:close-all"] = function()
if core.confirm_close_all() then
core.root_view:close_all_docviews()
end
core.confirm_close_all(core.root_view.close_all_docviews, core.root_view)
end,
["root:switch-to-previous-tab"] = function()