Skip to content

Commit 4e25e44

Browse files
committed
Fix: Canceling save dialog on editor exit
1 parent 7826b6b commit 4e25e44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/editor_node.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6207,6 +6207,8 @@ void EditorNode::_cancel_close_scene_tab() {
62076207
if (_is_closing_editor()) {
62086208
tab_closing_menu_option = -1;
62096209
}
6210+
changing_scene = false;
6211+
tabs_to_close.clear();
62106212
}
62116213

62126214
void EditorNode::_prepare_save_confirmation_popup() {

0 commit comments

Comments
 (0)