Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
This commit is contained in:
parent
acd9646ede
commit
5bae3693bf
5 changed files with 9 additions and 8 deletions
|
|
@ -367,7 +367,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)
|
||||
|
|
@ -475,7 +475,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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue