fixes bug1390236 by limiting the selection in the media manager when a large number of results are returned

This commit is contained in:
Phill Ridout 2014-12-14 16:56:48 +00:00
parent ae852466ec
commit e93eda152b
1 changed files with 2 additions and 1 deletions

View File

@ -713,7 +713,8 @@ class BibleMediaItem(MediaManagerItem):
items = self.build_display_results(bible, second_bible, self.search_results)
for bible_verse in items:
self.list_view.addItem(bible_verse)
self.list_view.selectAll()
if len(items) < 100:
self.list_view.selectAll()
self.search_results = {}
self.second_search_results = {}