diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-05-17 23:47:02 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-05-17 23:47:02 +0200 |
commit | 27e17fa5de4fcc6c399ac99c8ff1221ea423a896 (patch) | |
tree | d2b483f4b5914479063502e8a58a8587f93a342c | |
parent | ee5ba3e0974caba3e3589d2a53405ef7328dc1b1 (diff) |
Fix saving scenes when multi-closing scene tabs
-rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 40e05940a7..be9118d485 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1955,6 +1955,9 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) { _scene_tab_closed(editor_data.get_edited_scene()); } + if (p_confirmed) + _menu_option_confirm(SCENE_TAB_CLOSE, true); + } break; case FILE_CLOSE_ALL_AND_QUIT: case FILE_CLOSE_ALL_AND_RUN_PROJECT_MANAGER: |