From 565696280c4fd6e5cd88e2b606952f1cb710dc8d Mon Sep 17 00:00:00 2001 From: Dana Olson Date: Sat, 1 Nov 2014 01:29:14 -0400 Subject: fixes default project dir option for Create / Import dialogs after quitting to project manager --- tools/editor/project_manager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor') 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"); -- cgit v1.2.3