mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 01:22:21 +00:00
Improve dialog title when scanning for projects
This commit is contained in:
parent
c788284b5c
commit
0b595f94c4
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user