Browse Source

fix file dialog filename cleared when selecting favorites

(cherry picked from commit 318d5442ecbe9c081d9a477a45b8e265c4131562)
Borislav Kosharov 5 years ago
parent
commit
96ff829816
1 changed files with 0 additions and 1 deletions
  1. 0 1
      editor/editor_file_dialog.cpp

+ 0 - 1
editor/editor_file_dialog.cpp

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