From 787d7c8b537f6313b2f16dee714d83f8754d61b1 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Tue, 20 May 2025 15:10:54 +0800 Subject: [PATCH] Fix error when closing all scene tabs on the last tab --- editor/gui/editor_scene_tabs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/gui/editor_scene_tabs.h b/editor/gui/editor_scene_tabs.h index 3b23aea7e8a..ee8dce75d64 100644 --- a/editor/gui/editor_scene_tabs.h +++ b/editor/gui/editor_scene_tabs.h @@ -47,7 +47,7 @@ class EditorSceneTabs : public MarginContainer { public: enum { - SCENE_SHOW_IN_FILESYSTEM = 3000, // Prevents conflicts with EditorNode options. + SCENE_SHOW_IN_FILESYSTEM = 1000, // Prevents conflicts with EditorNode options. SCENE_RUN, SCENE_CLOSE_OTHERS, SCENE_CLOSE_RIGHT,