Update Node dock when theme changes

This commit is contained in:
Haoyu Qiu 2024-07-03 00:15:57 +08:00
parent 9db1a963be
commit 7187a82cfe
2 changed files with 3 additions and 0 deletions

View file

@ -369,6 +369,7 @@ void GroupsEditor::_notification(int p_what) {
case NOTIFICATION_THEME_CHANGED: {
filter->set_right_icon(get_editor_theme_icon("Search"));
add->set_icon(get_editor_theme_icon("Add"));
_update_tree();
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {
if (groups_dirty && is_visible_in_tree()) {