diff options
author | kobewi <kobewi4e@gmail.com> | 2022-03-05 13:25:32 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-03-05 13:25:32 +0100 |
commit | 3203a2b4bbf32bfb83cc883176d3d7dbccdede79 (patch) | |
tree | faf7d4db6c80cf9dba8720b539f20674d7ed9683 | |
parent | cdd63fa8722da2cce75d3d9db65ce06548a5fa31 (diff) |
Fix color pickers closing in editor settings
-rw-r--r-- | editor/editor_inspector.cpp | 4 | ||||
-rw-r--r-- | editor/editor_settings_dialog.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 995ba47894..a83379dca4 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3510,7 +3510,9 @@ void EditorInspector::_notification(int p_what) { case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { _update_inspector_bg(); - update_tree(); + if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/inspector")) { + update_tree(); + } } break; } } diff --git a/editor/editor_settings_dialog.cpp b/editor/editor_settings_dialog.cpp index ed2134a056..8ecdcfff65 100644 --- a/editor/editor_settings_dialog.cpp +++ b/editor/editor_settings_dialog.cpp @@ -134,8 +134,6 @@ void EditorSettingsDialog::_notification(int p_what) { case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { _update_icons(); - // Update theme colors. - inspector->update_category_list(); bool update_shortcuts_tab = EditorSettings::get_singleton()->check_changed_settings_in_group("shortcuts") || |