Merge pull request #851 from adolson/default-project-dir-fix

fixes default project dir option
This commit is contained in:
Juan Linietsky 2014-11-02 10:15:07 -03:00
commit 71aa6075b2

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