Merge pull request #28970 from KoBeWi/a_wild_bug_appeared

Fix saving scenes when multi-closing scene tabs
This commit is contained in:
Max Hilbrunner 2019-05-18 16:46:31 +02:00 committed by GitHub
commit ac58abfd58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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());
}
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: