summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBorislav Kosharov <bosakmaw@gmail.com>2020-05-24 02:46:13 +0300
committerBorislav Kosharov <bosakmaw@gmail.com>2020-05-24 02:46:13 +0300
commit318d5442ecbe9c081d9a477a45b8e265c4131562 (patch)
treec81ab2559815125da5c9479aeeef90cbb4cffd4e
parent57d21ebeda8460036efac1f70cd9ecd0896de517 (diff)
fix file dialog filename cleared when selecting favorites
-rw-r--r--editor/editor_file_dialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index 5ae5d1cb31..a1b42d7e40 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -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();