fix if statment

This commit is contained in:
Philip Ridout 2016-11-11 19:19:59 +00:00
parent 94fca706ff
commit 426cd13fd0

View File

@ -950,7 +950,7 @@ class BibleMediaItem(MediaManagerItem):
if limit == 3 and (len(text) < limit or len(count_space_digit_reference) == 0):
if not self.quickLockButton.isChecked():
self.list_view.clear()
elif (limit == 8 and len(text) < limit ):
elif limit == 8 and (len(text) < limit or len(count_two_chars_text) < 2):
if not self.quickLockButton.isChecked():
self.list_view.clear(search_while_typing=True)
else: