Browse Source

Merge pull request #108679 from Alex2782/fix_cancel_save_dialog

Cancel save dialog on editor exit
Thaddeus Crews 1 month ago
parent
commit
d98a2d2e5e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/editor_node.cpp

+ 2 - 0
editor/editor_node.cpp

@@ -6207,6 +6207,8 @@ void EditorNode::_cancel_close_scene_tab() {
 	if (_is_closing_editor()) {
 	if (_is_closing_editor()) {
 		tab_closing_menu_option = -1;
 		tab_closing_menu_option = -1;
 	}
 	}
+	changing_scene = false;
+	tabs_to_close.clear();
 }
 }
 
 
 void EditorNode::_prepare_save_confirmation_popup() {
 void EditorNode::_prepare_save_confirmation_popup() {