forked from openlp/openlp
Dont try to display search results if there are none!
This commit is contained in:
parent
1d377e42cb
commit
04c719e807
@ -732,6 +732,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
self.list_view.clear()
|
self.list_view.clear()
|
||||||
|
if self.search_results:
|
||||||
items = self.build_display_results(self.bible, self.second_bible, self.search_results)
|
items = self.build_display_results(self.bible, self.second_bible, self.search_results)
|
||||||
for item in items:
|
for item in items:
|
||||||
self.list_view.addItem(item)
|
self.list_view.addItem(item)
|
||||||
|
Loading…
Reference in New Issue
Block a user