From cfa1f70d79d40dc534552e2b0909827b105e7ec8 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sat, 6 Jul 2024 09:38:33 +0200 Subject: [PATCH] Update banners upon editor settings changed --- editor/limbo_ai_editor_plugin.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editor/limbo_ai_editor_plugin.cpp b/editor/limbo_ai_editor_plugin.cpp index 9d24c1a..7fc500e 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -1401,7 +1401,12 @@ void LimboAIEditor::_notification(int p_what) { BUTTON_SET_ICON(misc_btn, get_theme_icon(LW_NAME(Tools), LW_NAME(EditorIcons))); _update_favorite_tasks(); - } + } break; + case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { + if (is_visible_in_tree()) { + _update_banners(); + } + } break; } }