mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
[FileDialog] Use base dir instead of ".." when going up.
This commit is contained in:
parent
63e14e13f9
commit
ccd84d79a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue