summaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.h
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2022-03-04 12:09:02 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2022-03-04 18:26:08 -0300
commitebf630441f8469bd94e842bf6c3f4aa83a6d20fb (patch)
tree2ac47090ca3c3a3be2ebc0e445a1d0dc67f47c53 /scene/gui/tab_container.h
parent3078b92dffd59204556037315acebaf2fe46dbff (diff)
Fix renaming `TabContainer` children not updating tab names when outside the tree
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r--scene/gui/tab_container.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h
index 1322f08206..c54934b37b 100644
--- a/scene/gui/tab_container.h
+++ b/scene/gui/tab_container.h
@@ -51,6 +51,7 @@ class TabContainer : public Container {
Vector<Control *> _get_tab_controls() const;
void _on_theme_changed();
void _repaint();
+ void _refresh_tab_names();
void _update_margins();
void _on_mouse_exited();
void _on_tab_changed(int p_tab);
@@ -61,7 +62,6 @@ class TabContainer : public Container {
void _drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from_control);
protected:
- void _child_renamed_callback();
virtual void gui_input(const Ref<InputEvent> &p_event) override;
void _notification(int p_what);
virtual void add_child_notify(Node *p_child) override;