Fix go to parent folder in EditorFileDialog

(cherry picked from commit 40046bcf60)
This commit is contained in:
Alexander Hartmann 2023-08-20 17:06:35 +02:00 committed by Yuri Sizov
parent 74506ce901
commit e19f868e09
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ void EditorFileDialog::_recent_selected(int p_idx) {
} }
void EditorFileDialog::_go_up() { void EditorFileDialog::_go_up() {
dir_access->change_dir(get_current_dir().get_base_dir()); dir_access->change_dir(get_current_dir().trim_suffix("/").get_base_dir());
update_file_list(); update_file_list();
update_dir(); update_dir();
_push_history(); _push_history();