From 9bb25b67e9db9ee136bc362114cac4ae5e3e8c1a Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sun, 14 Jun 2020 20:50:18 +0100 Subject: [PATCH] Fixed "clear search" button not updating search results and remaining shown --- addons/zylann.translation_editor/tools/translation_editor.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/zylann.translation_editor/tools/translation_editor.gd b/addons/zylann.translation_editor/tools/translation_editor.gd index a21804a..c33c006 100644 --- a/addons/zylann.translation_editor/tools/translation_editor.gd +++ b/addons/zylann.translation_editor/tools/translation_editor.gd @@ -557,3 +557,5 @@ func _on_Search_text_changed(search_text: String): func _on_ClearSearch_pressed(): _search_edit.text = "" + # LineEdit does not emit `text_changed` when doing this + _on_Search_text_changed(_search_edit.text)