You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Queue inspector tree update when changing the theme.
This commit is contained in:
@@ -3867,6 +3867,10 @@ 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));
|
||||||
|
|||||||
Reference in New Issue
Block a user