summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-07-31 20:46:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-07-31 20:46:00 +0200
commit0b595f94c47a9144dbe9c200a8057558b0c4f839 (patch)
treefc1c6d35ee215cda157e9b20fc94d8c758ebf0ef /tools/editor
parentc788284b5c24cacdddd50fef362a419f18809017 (diff)
Improve dialog title when scanning for projects
Diffstat (limited to 'tools/editor')
-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 daba5c9eba..90e655f116 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -1270,6 +1270,7 @@ ProjectManager::ProjectManager() {
scan_dir = memnew( FileDialog );
scan_dir->set_access(FileDialog::ACCESS_FILESYSTEM);
scan_dir->set_mode(FileDialog::MODE_OPEN_DIR);
+ scan_dir->set_title(TTR("Select a Folder to Scan")); // must be after mode or it's overridden
scan_dir->set_current_dir( EditorSettings::get_singleton()->get("global/default_project_path") );
gui_base->add_child(scan_dir);
scan_dir->connect("dir_selected",this,"_scan_begin");