Update banners upon editor settings changed

This commit is contained in:
Serhii Snitsaruk 2024-07-06 09:38:33 +02:00
parent 7c0d49bafa
commit cfa1f70d79
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 6 additions and 1 deletions

View File

@ -1401,7 +1401,12 @@ void LimboAIEditor::_notification(int p_what) {
BUTTON_SET_ICON(misc_btn, get_theme_icon(LW_NAME(Tools), LW_NAME(EditorIcons))); BUTTON_SET_ICON(misc_btn, get_theme_icon(LW_NAME(Tools), LW_NAME(EditorIcons)));
_update_favorite_tasks(); _update_favorite_tasks();
} break;
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
if (is_visible_in_tree()) {
_update_banners();
} }
} break;
} }
} }