Match file dialog drive with the current folder.

This commit is contained in:
Daniel J. Ramirez 2017-10-04 14:46:58 -05:00
parent a848fa6cde
commit 670564f98e

View file

@ -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) {