Fix "Local" button not being pressed in the Scene dock on first run
This commit is contained in:
parent
4f03e302a7
commit
f1244ce944
|
@ -2867,6 +2867,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor, Node *p_scene_root, EditorSel
|
|||
edit_local->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
edit_local->set_text(TTR("Local"));
|
||||
edit_local->set_toggle_mode(true);
|
||||
edit_local->set_pressed(true);
|
||||
edit_local->connect("pressed", callable_mp(this, &SceneTreeDock::_local_tree_selected));
|
||||
|
||||
remote_tree = nullptr;
|
||||
|
|
Loading…
Reference in New Issue