From 2ee123a9e1540696a1671bf6091467bcee55dd82 Mon Sep 17 00:00:00 2001 From: suutari-olli Date: Fri, 17 Jun 2016 01:27:06 +0300 Subject: [PATCH] - Clear the results button now also clears the text input field and gives it focus. --- openlp/plugins/bibles/lib/mediaitem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/bibles/lib/mediaitem.py b/openlp/plugins/bibles/lib/mediaitem.py index f43516ec2..a863bb8ee 100644 --- a/openlp/plugins/bibles/lib/mediaitem.py +++ b/openlp/plugins/bibles/lib/mediaitem.py @@ -549,9 +549,11 @@ class BibleMediaItem(MediaManagerItem): self.advanced_book_combo_box.setFocus() def on_clear_button(self): - # Clear the list, then set the "No search Results" message. + # Clear the list, then set the "No search Results" message, then clear the text field and give it focus. self.list_view.clear() self.check_search_result() + self.quick_search_edit.clear() + self.quick_search_edit.setFocus() def on_lock_button_toggled(self, checked): if checked: