mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 08:32:54 +00:00
Fix scene tab close
This commit is contained in:
parent
202e4b2c1e
commit
51923fc528
@ -3617,7 +3617,9 @@ void EditorNode::set_current_scene(int p_idx) {
|
||||
_update_title();
|
||||
_update_scene_tabs();
|
||||
|
||||
call_deferred(SNAME("_set_main_scene_state"), state, get_edited_scene()); // Do after everything else is done setting up.
|
||||
if (tabs_to_close.is_empty()) {
|
||||
call_deferred(SNAME("_set_main_scene_state"), state, get_edited_scene()); // Do after everything else is done setting up.
|
||||
}
|
||||
}
|
||||
|
||||
void EditorNode::setup_color_picker(ColorPicker *p_picker) {
|
||||
|
Loading…
Reference in New Issue
Block a user