forked from openlp/openlp
fixed enumeration
This commit is contained in:
parent
54f42cb52b
commit
72dd290d6b
@ -254,9 +254,9 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
"""
|
"""
|
||||||
if self.searchAsYouType:
|
if self.searchAsYouType:
|
||||||
search_length = 1
|
search_length = 1
|
||||||
if self.searchTextEdit.currentSearchType() == 1:
|
if self.searchTextEdit.currentSearchType() == SongSearch.Entire:
|
||||||
search_length = 3
|
search_length = 3
|
||||||
elif self.searchTextEdit.currentSearchType() == 3:
|
elif self.searchTextEdit.currentSearchType() == SongSearch.Lyrics:
|
||||||
search_length = 7
|
search_length = 7
|
||||||
if len(text) > search_length:
|
if len(text) > search_length:
|
||||||
self.onSearchTextButtonClick()
|
self.onSearchTextButtonClick()
|
||||||
|
Loading…
Reference in New Issue
Block a user