diff options
| author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-05 04:23:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-05 04:23:18 +0200 |
| commit | c488a74e0c9d56975d5b23e5bff5ca2341f80036 (patch) | |
| tree | d8db15e0c30ab8d9b605894486e094077c0d0c88 /scene/gui/tab_container.cpp | |
| parent | 073e77454dccb08d56f837f809eef43d57f09819 (diff) | |
| parent | 5bae3693bfcd856507a85fded3c23515e4e633c1 (diff) | |
| download | redot-engine-c488a74e0c9d56975d5b23e5bff5ca2341f80036.tar.gz | |
Merge pull request #19498 from guilhermefelipecgs/fix_regression
Fix "find and replace" initializing with wrong size
Diffstat (limited to 'scene/gui/tab_container.cpp')
| -rw-r--r-- | scene/gui/tab_container.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 4f72b5c6ed..c30fa96327 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -407,7 +407,7 @@ void TabContainer::_child_renamed_callback() { void TabContainer::add_child_notify(Node *p_child) { - Control::add_child_notify(p_child); + Container::add_child_notify(p_child); Control *c = Object::cast_to<Control>(p_child); if (!c) @@ -515,7 +515,7 @@ Control *TabContainer::get_current_tab_control() const { void TabContainer::remove_child_notify(Node *p_child) { - Control::remove_child_notify(p_child); + Container::remove_child_notify(p_child); call_deferred("_update_current_tab"); |
