diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-26 21:46:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 21:46:33 +0200 |
commit | b2569d5fa8e45173bbd8c03d9887e7635c7986b0 (patch) | |
tree | 4543888638e43ecacd45db4e1a6ebac0c3eb87ca | |
parent | 0d253845c2197b939dde828ac2abcfba33e90d27 (diff) | |
parent | 6a7f30066213bfe2d7d2f394674e9abb21370509 (diff) |
Merge pull request #32373 from dankan1890/folder_rescan
Create new folder from save dialog now update filesystem dock.
-rw-r--r-- | editor/editor_file_dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp index 80aeeef868..02a9cc905b 100644 --- a/editor/editor_file_dialog.cpp +++ b/editor/editor_file_dialog.cpp @@ -35,6 +35,7 @@ #include "core/os/os.h" #include "core/print_string.h" #include "dependency_editor.h" +#include "editor_file_system.h" #include "editor_resource_preview.h" #include "editor_scale.h" #include "editor_settings.h" @@ -1085,7 +1086,7 @@ void EditorFileDialog::_make_dir_confirm() { update_filters(); update_dir(); _push_history(); - + EditorFileSystem::get_singleton()->scan_changes(); //we created a dir, so rescan changes } else { mkdirerr->popup_centered_minsize(Size2(250, 50) * EDSCALE); } |