Merge pull request #63963 from YuriSizov/editor-feature-profiles-like-it-dark-and-damp

Rebuild the trees in the `EditorFeatureProfile` dialog when the editor theme changes
This commit is contained in:
Rémi Verschelde 2022-08-05 23:29:06 +02:00 committed by GitHub
commit 91c62fb856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}