Merge pull request #113581 from bruvzg/meh_fd

[FileDialog] Use base dir instead of ".." when going up.
This commit is contained in:
Rémi Verschelde 2025-12-05 09:38:34 +01:00
commit 09abc05878
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -534,7 +534,7 @@ bool FileDialog::_is_open_should_be_disabled() {
} }
void FileDialog::_go_up() { void FileDialog::_go_up() {
_change_dir(".."); _change_dir(get_current_dir().trim_suffix("/").get_base_dir());
_push_history(); _push_history();
} }