diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index fe5c936974d..799f5bf6577 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -534,7 +534,7 @@ bool FileDialog::_is_open_should_be_disabled() { } void FileDialog::_go_up() { - _change_dir(".."); + _change_dir(get_current_dir().trim_suffix("/").get_base_dir()); _push_history(); }