summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Olson <dana@shineuponthee.com>2014-11-01 01:29:14 -0400
committerDana Olson <dana@shineuponthee.com>2014-11-01 01:29:14 -0400
commit565696280c4fd6e5cd88e2b606952f1cb710dc8d (patch)
tree25f31d94c012cade4a2686b8c8074242859bcde6
parentcf04e1a827cadb597d8cbed534a4cc04a0ada4fc (diff)
fixes default project dir option for Create / Import dialogs after quitting to project manager
-rw-r--r--tools/editor/project_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index 5764f9f2d9..1ba16c2911 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -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");