From 4e25e4406e3f5a4da8244247e1cfeefc6e5f2b2c Mon Sep 17 00:00:00 2001 From: Alexander Hartmann Date: Wed, 16 Jul 2025 20:21:05 +0200 Subject: [PATCH] Fix: Canceling save dialog on editor exit --- editor/editor_node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 13662af1b2..a0a629cd2f 100644 --- a/editor/editor_node.cpp +++ b/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() {