forked from openlp/openlp
fix if statment
This commit is contained in:
parent
94fca706ff
commit
426cd13fd0
@ -950,7 +950,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
if limit == 3 and (len(text) < limit or len(count_space_digit_reference) == 0):
|
if limit == 3 and (len(text) < limit or len(count_space_digit_reference) == 0):
|
||||||
if not self.quickLockButton.isChecked():
|
if not self.quickLockButton.isChecked():
|
||||||
self.list_view.clear()
|
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():
|
if not self.quickLockButton.isChecked():
|
||||||
self.list_view.clear(search_while_typing=True)
|
self.list_view.clear(search_while_typing=True)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user