mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Merge pull request #80821 from Alex2782/bugfix_go_up_#80750
Fix go to parent folder in `EditorFileDialog`
This commit is contained in:
commit
88269cfb86
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user