1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Update icons when theme changed

This commit is contained in:
Poommetee Ketson
2018-02-25 23:04:16 +07:00
parent 08584b7e22
commit 2de1dfa42f
16 changed files with 117 additions and 41 deletions

View File

@@ -550,6 +550,10 @@ void SceneTreeEditor::_notification(int p_what) {
get_tree()->disconnect("node_configuration_warning_changed", this, "_warning_changed");
EditorSettings::get_singleton()->disconnect("settings_changed", this, "_editor_settings_changed");
}
if (p_what == NOTIFICATION_THEME_CHANGED) {
_update_tree();
}
}
TreeItem *SceneTreeEditor::_find(TreeItem *p_node, const NodePath &p_path) {