Revert "Queue inspector tree update when changing the theme."

This reverts commit c0baec410b.

See comments in #70381.
This commit is contained in:
Rémi Verschelde 2022-12-22 16:39:21 +01:00
parent 5fe0d8df22
commit c547c4ef59
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3856,10 +3856,6 @@ void EditorInspector::_notification(int p_what) {
_update_inspector_bg(); _update_inspector_bg();
} break; } break;
case NOTIFICATION_THEME_CHANGED: {
update_tree();
} break;
case NOTIFICATION_ENTER_TREE: { case NOTIFICATION_ENTER_TREE: {
if (!sub_inspector) { if (!sub_inspector) {
get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed)); get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed));