fixes default project dir option for Create / Import dialogs after quitting to project manager
This commit is contained in:
parent
cf04e1a827
commit
565696280c
1 changed files with 1 additions and 0 deletions
|
@ -321,6 +321,7 @@ public:
|
|||
fdialog = memnew( FileDialog );
|
||||
add_child(fdialog);
|
||||
fdialog->set_access(FileDialog::ACCESS_FILESYSTEM);
|
||||
fdialog->set_current_dir( EditorSettings::get_singleton()->get("global/default_project_path") );
|
||||
project_name->connect("text_changed", this,"_text_changed");
|
||||
project_path->connect("text_changed", this,"_path_text_changed");
|
||||
fdialog->connect("dir_selected", this,"_path_selected");
|
||||
|
|
Loading…
Reference in a new issue