Merge pull request #38089 from YeldhamDev/scenedock_local_fix
Fix "Local" button not being pressed in the Scene dock on first run
This commit is contained in:
commit
bb9d89d78c
|
@ -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