From 670564f98e00d25ac6130b01742b28b4edef77f3 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Wed, 4 Oct 2017 14:46:58 -0500 Subject: Match file dialog drive with the current folder. --- scene/gui/file_dialog.cpp | 1 + 1 file changed, 1 insertion(+) 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 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) { -- cgit v1.2.3