forked from openlp/openlp
Remove Print statements.
bzr-revno: 254
This commit is contained in:
parent
33c43f8dfe
commit
1692da442b
@ -197,18 +197,13 @@ class SongsPlugin(Plugin):
|
|||||||
def onSearchTextButton(self):
|
def onSearchTextButton(self):
|
||||||
searchtext = str(self.SearchTextEdit.displayText() )
|
searchtext = str(self.SearchTextEdit.displayText() )
|
||||||
ct = self.SearchTypeComboBox.currentText()
|
ct = self.SearchTypeComboBox.currentText()
|
||||||
print ct , str(ct)
|
|
||||||
if self.SearchTypeComboBox.currentText()=="Titles":
|
if self.SearchTypeComboBox.currentText()=="Titles":
|
||||||
print "Titles"
|
|
||||||
self.searchresults = self.songmanager.get_song_from_title(searchtext)
|
self.searchresults = self.songmanager.get_song_from_title(searchtext)
|
||||||
elif self.SearchTypeComboBox.currentText()=="Lyrics":
|
elif self.SearchTypeComboBox.currentText()=="Lyrics":
|
||||||
print "Lyrics"
|
|
||||||
self.searchresults = self.songmanager.get_song_from_lyrics(searchtext)
|
self.searchresults = self.songmanager.get_song_from_lyrics(searchtext)
|
||||||
elif self.SearchTypeComboBox.currentText()=="Authors":
|
elif self.SearchTypeComboBox.currentText()=="Authors":
|
||||||
print "Authors"
|
|
||||||
self.searchresults = self.songmanager.get_song_from_author(searchtext)
|
self.searchresults = self.songmanager.get_song_from_author(searchtext)
|
||||||
else:
|
|
||||||
print "missed ", ct
|
|
||||||
self._display_results()
|
self._display_results()
|
||||||
|
|
||||||
def onSongNewClick(self):
|
def onSongNewClick(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user