Rebuild the trees in the EditorFeatureProfile dialog when the editor theme changes

This commit is contained in:
Yuri Sizov 2022-08-05 19:17:58 +03:00
parent f5a89bf460
commit bd5ad943b4

View File

@ -324,6 +324,11 @@ void EditorFeatureProfileManager::_notification(int p_what) {
}
_update_profile_list(current_profile);
} break;
case NOTIFICATION_THEME_CHANGED: {
// Make sure that the icons are correctly adjusted if the theme's lightness was switched.
_update_selected_profile();
} break;
}
}