1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

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

View File

@@ -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();
}