Explorar o código

Add `FolderCreate` icon to the project dialog

Adam Scott hai 1 ano
pai
achega
b91cb14197
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      editor/project_manager/project_dialog.cpp

+ 4 - 0
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;