Skip to content

Commit

Permalink
Merge pull request #28970 from KoBeWi/a_wild_bug_appeared
Browse files Browse the repository at this point in the history
Fix saving scenes when multi-closing scene tabs
  • Loading branch information
mhilbrunner authored May 18, 2019
2 parents a1c7fdb + 27e17fa commit ac58abf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ac58abf

Please sign in to comment.