diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-20 19:34:30 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-20 19:34:30 +0100 |
commit | 60375002196d3fa881029bc6ac743d3f05aff859 (patch) | |
tree | edd003ba575d32b90bbf7a6ce6d19687d81e69be /editor/editor_help_search.cpp | |
parent | b8f106acb24387d2f2c746a586edc0728fd10aaf (diff) | |
parent | a031911c828da4f6f93950afa0688ac062bc96bd (diff) | |
download | redot-engine-60375002196d3fa881029bc6ac743d3f05aff859.tar.gz |
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
Use `check_changed_settings_in_group()` everywhere
Diffstat (limited to 'editor/editor_help_search.cpp')
-rw-r--r-- | editor/editor_help_search.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp index 99459df96c..51df2716d7 100644 --- a/editor/editor_help_search.cpp +++ b/editor/editor_help_search.cpp @@ -36,6 +36,7 @@ #include "editor/editor_settings.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" +#include "editor/themes/editor_theme_manager.h" bool EditorHelpSearch::_all_terms_in_name(const Vector<String> &p_terms, const String &p_name) const { for (int i = 0; i < p_terms.size(); i++) { @@ -214,7 +215,12 @@ void EditorHelpSearch::_notification(int p_what) { connect("confirmed", callable_mp(this, &EditorHelpSearch::_confirmed)); } break; - case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: + case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { + if (!EditorThemeManager::is_generated_theme_outdated()) { + break; + } + [[fallthrough]]; + } case NOTIFICATION_THEME_CHANGED: { const int icon_width = get_theme_constant(SNAME("class_icon_size"), EditorStringName(Editor)); results_tree->add_theme_constant_override("icon_max_width", icon_width); |