You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add FolderCreate icon to the project dialog
This commit is contained in:
@@ -772,6 +772,10 @@ void ProjectDialog::show_dialog() {
|
|||||||
|
|
||||||
void ProjectDialog::_notification(int p_what) {
|
void ProjectDialog::_notification(int p_what) {
|
||||||
switch (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: {
|
case NOTIFICATION_WM_CLOSE_REQUEST: {
|
||||||
_remove_created_folder();
|
_remove_created_folder();
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user