1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

fix file dialog filename cleared when selecting favorites

This commit is contained in:
Borislav Kosharov
2020-05-24 02:46:13 +03:00
parent 57d21ebeda
commit 318d5442ec

View File

@@ -1122,7 +1122,6 @@ void EditorFileDialog::_update_drives() {
void EditorFileDialog::_favorite_selected(int p_idx) {
dir_access->change_dir(favorites->get_item_metadata(p_idx));
file->set_text("");
update_dir();
invalidate();
_push_history();