Skip to content

Commit

Permalink
Merge pull request #38994 from nikibobi/fix-file-dialog-favorite
Browse files Browse the repository at this point in the history
Fix file dialog filename cleared when selecting favorites
  • Loading branch information
akien-mga authored Feb 19, 2021
2 parents 5a9cab4 + 318d544 commit aeea428
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor/editor_file_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit aeea428

Please sign in to comment.