forked from openlp/openlp
Fix up a small bug left over from the changeover to the new search edit.
This commit is contained in:
parent
a2eae992bf
commit
6f26c6fc0a
@ -252,7 +252,9 @@ class SongMediaItem(MediaManagerItem):
|
||||
"""
|
||||
if self.searchAsYouType:
|
||||
search_length = 1
|
||||
if self.SearchTypeComboBox.currentIndex() == 1:
|
||||
if self.SearchTextEdit.currentSearchType() == 1:
|
||||
search_length = 3
|
||||
elif self.SearchTextEdit.currentSearchType() == 3:
|
||||
search_length = 7
|
||||
if len(text) > search_length:
|
||||
self.onSearchTextButtonClick()
|
||||
|
Loading…
Reference in New Issue
Block a user