Merge pull request #89240 from adamscott/create-folder-project-dialog

Add `FolderCreate` icon to the project dialog
This commit is contained in:
Rémi Verschelde 2024-03-07 15:24:01 +01:00
commit dd90c3c30c
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -772,6 +772,10 @@ void ProjectDialog::show_dialog() {
void ProjectDialog::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_THEME_CHANGED: {
create_dir->set_icon(get_editor_theme_icon(SNAME("FolderCreate")));
} break;
case NOTIFICATION_WM_CLOSE_REQUEST: {
_remove_created_folder();
} break;