diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-08 12:17:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 12:17:54 +0100 |
commit | 31b3bda36ad65eb4b65d9102194c09093e8961e3 (patch) | |
tree | 777ba913f0f001290f58e46db20132f60e3476be | |
parent | e0f6a22fddec3a451edbd08bf3424d7f38da2ae9 (diff) | |
parent | 5381a27f792e8d3e23eb4e50dda531abcd0503cf (diff) |
Merge pull request #58881 from pfertyk/issue_58790_all_tabs_in_front_crash
-rw-r--r-- | scene/gui/tab_container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 102fe18502..6e1f506e58 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -624,7 +624,7 @@ void TabContainer::set_all_tabs_in_front(bool p_in_front) { all_tabs_in_front = p_in_front; remove_child(tab_bar); - add_child(tab_bar, false, all_tabs_in_front ? INTERNAL_MODE_BACK : INTERNAL_MODE_FRONT); + add_child(tab_bar, false, all_tabs_in_front ? INTERNAL_MODE_FRONT : INTERNAL_MODE_BACK); } bool TabContainer::is_all_tabs_in_front() const { |