Pārlūkot izejas kodu

Fix: Canceling save dialog on editor exit

Alexander Hartmann 1 mēnesi atpakaļ
vecāks
revīzija
4e25e4406e
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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()) {
 		tab_closing_menu_option = -1;
 	}
+	changing_scene = false;
+	tabs_to_close.clear();
 }
 
 void EditorNode::_prepare_save_confirmation_popup() {