Fix error introduced with commit c0ad86d
This commit is contained in:
parent
461266e97d
commit
04063ff47e
|
@ -122,9 +122,7 @@ command.add(nil, {
|
|||
core.error("Cannot open folder %q", text)
|
||||
return
|
||||
end
|
||||
if core.confirm_close_all() then
|
||||
core.open_folder_project(text)
|
||||
end
|
||||
core.confirm_close_all(core.open_folder_project, text)
|
||||
end, suggest_directory)
|
||||
end,
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue