mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 20:36:53 +01:00
Fix scene tree dock focus after using "Add Child Node" button
This commit is contained in:
parent
760cc5bb49
commit
52d0f7eef9
@ -2395,7 +2395,7 @@ void SceneTreeDock::_create() {
|
|||||||
_do_reparent(last_created, -1, nodes, true);
|
_do_reparent(last_created, -1, nodes, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
scene_tree->get_scene_tree()->grab_focus();
|
scene_tree->get_scene_tree()->call_deferred("grab_focus");
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTreeDock::replace_node(Node *p_node, Node *p_by_node, bool p_keep_properties, bool p_remove_old) {
|
void SceneTreeDock::replace_node(Node *p_node, Node *p_by_node, bool p_keep_properties, bool p_remove_old) {
|
||||||
|
Loading…
Reference in New Issue
Block a user