diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:19:31 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 09:19:31 +0100 |
commit | 4685c035557a5089dda7ba8b466a62abb60eb3fb (patch) | |
tree | 3ecf83a33004b93d9701412a109256c823b26b07 | |
parent | f04f53201d0b6737a11a99cb6039329087226d6b (diff) | |
parent | c0baec410b0617ddb36c278230f3b60da1444af6 (diff) |
Merge pull request #70381 from Maran23/4-x-theme-inspector-update
Queue inspector tree update when changing the theme
-rw-r--r-- | editor/editor_inspector.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 2df14aef6c..5bf45687ab 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3867,6 +3867,10 @@ 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)); |