Skip to content

Commit

Permalink
Merge pull request godotengine#80821 from Alex2782/bugfix_go_up_#80750
Browse files Browse the repository at this point in the history
Fix go to parent folder in `EditorFileDialog`
  • Loading branch information
akien-mga committed Sep 7, 2023
2 parents 97f3f97 + 40046bc commit 88269cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/gui/editor_file_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ void EditorFileDialog::_recent_selected(int p_idx) {
}

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_dir();
_push_history();
Expand Down

0 comments on commit 88269cf

Please sign in to comment.