fixes default project dir option for Create / Import dialogs after quitting to project manager

This commit is contained in:
Dana Olson 2014-11-01 01:29:14 -04:00
parent cf04e1a827
commit 565696280c

View file

@ -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");