Add FolderCreate icon to the project dialog

This commit is contained in:
Adam Scott 2024-03-06 21:36:44 -05:00
parent bfdac951e3
commit b91cb14197
No known key found for this signature in database
GPG key ID: 1352C2919D96DDDF

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;