From c547c4ef5908b9d591497e40217200ecb12e0ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 22 Dec 2022 16:39:21 +0100 Subject: Revert "Queue inspector tree update when changing the theme." This reverts commit c0baec410b0617ddb36c278230f3b60da1444af6. See comments in #70381. --- editor/editor_inspector.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index e2ed264645..88a1bbb4a9 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3856,10 +3856,6 @@ void EditorInspector::_notification(int p_what) { _update_inspector_bg(); } break; - case NOTIFICATION_THEME_CHANGED: { - update_tree(); - } break; - case NOTIFICATION_ENTER_TREE: { if (!sub_inspector) { get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed)); -- cgit v1.2.3