Merge pull request #38994 from nikibobi/fix-file-dialog-favorite

Fix file dialog filename cleared when selecting favorites
This commit is contained in:
Rémi Verschelde 2021-02-19 09:46:17 +01:00 committed by GitHub
commit aeea4280a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1150,7 +1150,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();