forked from openlp/openlp
Cleanup whitespace, remove debug prints
This commit is contained in:
parent
356d566eb2
commit
227cd75b5c
@ -131,7 +131,7 @@ class CustomMediaItem(MediaManagerItem):
|
||||
QtCore.QVariant(CustomSearch.Titles)).toInt()[0])
|
||||
# Called to redisplay the custom list screen edith from a search
|
||||
# or from the exit of the Custom edit dialog. If remote editing is
|
||||
# active trigger it and clean up so it will not update again.
|
||||
# active trigger it and clean up so it will not update again.
|
||||
if self.remoteTriggered == u'L':
|
||||
self.onAddClick()
|
||||
if self.remoteTriggered == u'P':
|
||||
|
@ -215,7 +215,6 @@ class SongMediaItem(MediaManagerItem):
|
||||
Handle the exit from the edit dialog and trigger remote updates
|
||||
of songs
|
||||
"""
|
||||
print "reload list"
|
||||
log.debug(u'onSongListLoad - start')
|
||||
# Called to redisplay the song list screen edit from a search
|
||||
# or from the exit of the Song edit dialog. If remote editing is active
|
||||
@ -250,7 +249,6 @@ class SongMediaItem(MediaManagerItem):
|
||||
self.listView.addItem(song_name)
|
||||
# Auto-select the item if name has been set
|
||||
if song.id == self.auto_select_id:
|
||||
print "have match" , song.id
|
||||
self.listView.setCurrentItem(song_name)
|
||||
self.auto_select_id = -1
|
||||
|
||||
@ -300,10 +298,8 @@ class SongMediaItem(MediaManagerItem):
|
||||
|
||||
def onNewClick(self):
|
||||
log.debug(u'onNewClick')
|
||||
print "New"
|
||||
self.edit_song_form.newSong()
|
||||
self.edit_song_form.exec_()
|
||||
print "back from edit"
|
||||
self.onSongListLoad()
|
||||
self.onSelectionChange()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user