summaryrefslogtreecommitdiffstats
path: root/modules/multiplayer
diff options
context:
space:
mode:
authorRedMser <redmser.jj2@gmail.com>2023-11-26 16:44:18 +0100
committerRedMser <redmser.jj2@gmail.com>2024-03-31 21:35:10 +0200
commit9cd30208d6a89462d70bdd6f5bc97dd1119e05b0 (patch)
tree751d4d97cc5324b7148a7dddde62f3b4dff7bdf2 /modules/multiplayer
parent29b3d9e9e538f0aa8effc8ad8bf19a2915292a89 (diff)
downloadredot-engine-9cd30208d6a89462d70bdd6f5bc97dd1119e05b0.tar.gz
Improve SceneTreeEditor usability
- Mark contextually relevant node - Remember/Clear selection as appropriate - Scroll to marked/selected node
Diffstat (limited to 'modules/multiplayer')
-rw-r--r--modules/multiplayer/editor/replication_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/editor/replication_editor.cpp b/modules/multiplayer/editor/replication_editor.cpp
index 58803124cf..6000e2b1d3 100644
--- a/modules/multiplayer/editor/replication_editor.cpp
+++ b/modules/multiplayer/editor/replication_editor.cpp
@@ -131,7 +131,7 @@ void ReplicationEditor::_pick_new_property() {
EditorNode::get_singleton()->show_warning(TTR("Not possible to add a new property to synchronize without a root."));
return;
}
- pick_node->popup_scenetree_dialog();
+ pick_node->popup_scenetree_dialog(nullptr, current);
pick_node->get_filter_line_edit()->clear();
pick_node->get_filter_line_edit()->grab_focus();
}