diff options
author | Adam Scott <ascott.ca@gmail.com> | 2024-03-06 21:36:44 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2024-03-06 21:36:44 -0500 |
commit | b91cb1419780417ac480a720e77d25fe72e6b87e (patch) | |
tree | 62d89993cd2e248ed956900efcd6dd5c524533e8 /editor/project_manager | |
parent | bfdac951e3efe87c14a18ca33b16bb901687a43f (diff) | |
download | redot-engine-b91cb1419780417ac480a720e77d25fe72e6b87e.tar.gz |
Add `FolderCreate` icon to the project dialog
Diffstat (limited to 'editor/project_manager')
-rw-r--r-- | editor/project_manager/project_dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/project_manager/project_dialog.cpp b/editor/project_manager/project_dialog.cpp index f773e6f696..3af9509bbe 100644 --- a/editor/project_manager/project_dialog.cpp +++ b/editor/project_manager/project_dialog.cpp @@ -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; |