summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-07 13:29:34 +0200
committerGitHub <noreply@github.com>2021-06-07 13:29:34 +0200
commit3041becc644e5feaef6133afeaf801659ec886c4 (patch)
tree5bfe342ea87a622793b38db881b4b397e908b622 /scene/gui
parent0c7cb98780da0e7db52a865690a4e394ea75add5 (diff)
parentf7da0698d0ca734dc7e8c9693405840dca8ca52c (diff)
Merge pull request #49307 from pycbouh/tabs-update-on-theme-changes
Make sure `Tabs` reflect theme changes
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/tabs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp
index 471b26be75..11096e7976 100644
--- a/scene/gui/tabs.cpp
+++ b/scene/gui/tabs.cpp
@@ -256,6 +256,7 @@ void Tabs::_notification(int p_what) {
_update_cache();
update();
} break;
+ case NOTIFICATION_THEME_CHANGED:
case NOTIFICATION_TRANSLATION_CHANGED: {
for (int i = 0; i < tabs.size(); ++i) {
_shape(i);