Merge pull request #79917 from hvarga/fix-scene-tab-close
Fix crash when using "Close All Tabs"
This commit is contained in:
commit
f15898161a
|
@ -3620,7 +3620,9 @@ void EditorNode::set_current_scene(int p_idx) {
|
|||
_update_title();
|
||||
_update_scene_tabs();
|
||||
|
||||
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