summaryrefslogtreecommitdiffstats
path: root/editor/gui/scene_tree_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/gui/scene_tree_editor.h')
-rw-r--r--editor/gui/scene_tree_editor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/gui/scene_tree_editor.h b/editor/gui/scene_tree_editor.h
index fe2396d438..a869e867b8 100644
--- a/editor/gui/scene_tree_editor.h
+++ b/editor/gui/scene_tree_editor.h
@@ -89,7 +89,6 @@ class SceneTreeEditor : public Control {
void _notification(int p_what);
void _selected_changed();
void _deselect_items();
- void _rename_node(Node *p_node, const String &p_name);
void _cell_collapsed(Object *p_obj);
@@ -101,7 +100,8 @@ class SceneTreeEditor : public Control {
bool show_enabled_subscene = false;
bool is_scene_tree_dock = false;
- void _renamed();
+ void _edited();
+ void _renamed(TreeItem *p_item, TreeItem *p_batch_item, Node *p_node = nullptr);
HashSet<Node *> marked;
bool marked_selectable = false;
@@ -147,6 +147,8 @@ public:
// Public for use with callable_mp.
void _update_tree(bool p_scroll_to_selected = false);
+ void rename_node(Node *p_node, const String &p_name, TreeItem *p_item = nullptr);
+
void set_filter(const String &p_filter);
String get_filter() const;
String get_filter_term_warning();