Merge pull request #49307 from pycbouh/tabs-update-on-theme-changes

Make sure `Tabs` reflect theme changes
This commit is contained in:
Rémi Verschelde 2021-06-07 13:29:34 +02:00 committed by GitHub
commit 3041becc64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);