summaryrefslogtreecommitdiffstats
path: root/editor/project_manager
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2024-03-06 21:36:44 -0500
committerAdam Scott <ascott.ca@gmail.com>2024-03-06 21:36:44 -0500
commitb91cb1419780417ac480a720e77d25fe72e6b87e (patch)
tree62d89993cd2e248ed956900efcd6dd5c524533e8 /editor/project_manager
parentbfdac951e3efe87c14a18ca33b16bb901687a43f (diff)
downloadredot-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.cpp4
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;