Skip to content

Commit 09abc05

Browse files
committed
Merge pull request #113581 from bruvzg/meh_fd
[FileDialog] Use base dir instead of ".." when going up.
2 parents 94eeedd + ccd84d7 commit 09abc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/file_dialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ bool FileDialog::_is_open_should_be_disabled() {
534534
}
535535

536536
void FileDialog::_go_up() {
537-
_change_dir("..");
537+
_change_dir(get_current_dir().trim_suffix("/").get_base_dir());
538538
_push_history();
539539
}
540540

0 commit comments

Comments
 (0)