Dont try to display search results if there are none!

This commit is contained in:
Philip Ridout 2017-02-18 08:21:19 +00:00
parent 1d377e42cb
commit 04c719e807

View File

@ -732,6 +732,7 @@ class BibleMediaItem(MediaManagerItem):
:return: None
"""
self.list_view.clear()
if self.search_results:
items = self.build_display_results(self.bible, self.second_bible, self.search_results)
for item in items:
self.list_view.addItem(item)