1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

Merge pull request #34348 from Catchawink/master

Fixed issues with using a relative path in the export window.
This commit is contained in:
Rémi Verschelde
2019-12-17 22:24:34 +01:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -958,6 +958,8 @@ String EditorFileDialog::get_current_path() const {
}
void EditorFileDialog::set_current_dir(const String &p_dir) {
if (p_dir.is_rel_path())
dir_access->change_dir(OS::get_singleton()->get_resource_dir());
dir_access->change_dir(p_dir);
update_dir();
invalidate();