Create new folder from save dialog now update filesystem dock.
Fix #32167.
This commit is contained in:
parent
0d253845c2
commit
6a7f300662
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
||||||
#include "core/os/os.h"
|
#include "core/os/os.h"
|
||||||
#include "core/print_string.h"
|
#include "core/print_string.h"
|
||||||
#include "dependency_editor.h"
|
#include "dependency_editor.h"
|
||||||
|
#include "editor_file_system.h"
|
||||||
#include "editor_resource_preview.h"
|
#include "editor_resource_preview.h"
|
||||||
#include "editor_scale.h"
|
#include "editor_scale.h"
|
||||||
#include "editor_settings.h"
|
#include "editor_settings.h"
|
||||||
|
@ -1085,7 +1086,7 @@ void EditorFileDialog::_make_dir_confirm() {
|
||||||
update_filters();
|
update_filters();
|
||||||
update_dir();
|
update_dir();
|
||||||
_push_history();
|
_push_history();
|
||||||
|
EditorFileSystem::get_singleton()->scan_changes(); //we created a dir, so rescan changes
|
||||||
} else {
|
} else {
|
||||||
mkdirerr->popup_centered_minsize(Size2(250, 50) * EDSCALE);
|
mkdirerr->popup_centered_minsize(Size2(250, 50) * EDSCALE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue