From 3203a2b4bbf32bfb83cc883176d3d7dbccdede79 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 5 Mar 2022 13:25:32 +0100 Subject: [PATCH] Fix color pickers closing in editor settings --- editor/editor_inspector.cpp | 4 +++- 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 995ba478942..a83379dca47 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 ed2134a056b..8ecdcfff653 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") ||