Fix saving scenes when multi-closing scene tabs

This commit is contained in:
Tomasz Chabora 2019-05-17 23:47:02 +02:00
parent ee5ba3e097
commit 27e17fa5de
1 changed files with 3 additions and 0 deletions

View File

@ -1955,6 +1955,9 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
_scene_tab_closed(editor_data.get_edited_scene()); _scene_tab_closed(editor_data.get_edited_scene());
} }
if (p_confirmed)
_menu_option_confirm(SCENE_TAB_CLOSE, true);
} break; } break;
case FILE_CLOSE_ALL_AND_QUIT: case FILE_CLOSE_ALL_AND_QUIT:
case FILE_CLOSE_ALL_AND_RUN_PROJECT_MANAGER: case FILE_CLOSE_ALL_AND_RUN_PROJECT_MANAGER: