forked from openlp/openlp
- Clear the results button now also clears the text input field and gives it focus.
This commit is contained in:
parent
1d73961216
commit
2ee123a9e1
|
@ -549,9 +549,11 @@ class BibleMediaItem(MediaManagerItem):
|
||||||
self.advanced_book_combo_box.setFocus()
|
self.advanced_book_combo_box.setFocus()
|
||||||
|
|
||||||
def on_clear_button(self):
|
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.list_view.clear()
|
||||||
self.check_search_result()
|
self.check_search_result()
|
||||||
|
self.quick_search_edit.clear()
|
||||||
|
self.quick_search_edit.setFocus()
|
||||||
|
|
||||||
def on_lock_button_toggled(self, checked):
|
def on_lock_button_toggled(self, checked):
|
||||||
if checked:
|
if checked:
|
||||||
|
|
Loading…
Reference in New Issue