diff options
author | Gilles Roudiere <gilles.roudiere@gmail.com> | 2017-10-05 12:09:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 12:09:35 +0200 |
commit | b759d1416f574e5b642413edd623b04f2a1d20ad (patch) | |
tree | 3132b029076fc55f512726313ce35795f18c362e /scene/gui | |
parent | 4c2b5491b57f0a33c2bc99c2966d27c9d75b338e (diff) | |
parent | 670564f98e00d25ac6130b01742b28b4edef77f3 (diff) |
Merge pull request #11840 from djrm/pr_fix_drive_selection
Match file dialog drive with the current folder.
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/file_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 87a232e766..320dad9301 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -115,6 +115,7 @@ Vector<String> FileDialog::get_selected_files() const { void FileDialog::update_dir() { dir->set_text(dir_access->get_current_dir()); + drives->select(dir_access->get_current_drive()); } void FileDialog::_dir_entered(String p_dir) { |