Don't duplicate internal nodes

This commit is contained in:
kobewi 2024-03-13 13:22:42 +01:00
parent f2cc3f1275
commit 92ab92114e
10 changed files with 17 additions and 49 deletions

View file

@ -761,7 +761,6 @@ void TabContainer::set_all_tabs_in_front(bool p_in_front) {
remove_child(tab_bar);
add_child(tab_bar, false, all_tabs_in_front ? INTERNAL_MODE_FRONT : INTERNAL_MODE_BACK);
tab_bar->force_parent_owned();
}
bool TabContainer::is_all_tabs_in_front() const {