forked from openlp/openlp
fix: bug introduced in 833
This commit is contained in:
parent
761f30ec00
commit
69608de08c
@ -198,8 +198,8 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
self.ListView.clear()
|
self.ListView.clear()
|
||||||
for author in searchresults:
|
for author in searchresults:
|
||||||
for song in author.songs:
|
for song in author.songs:
|
||||||
song_detail = unicode(self.trUtf8('%s (%s)') %
|
song_detail = unicode(self.trUtf8('%s (%s)')) % \
|
||||||
(author.display_name, song.title))
|
(author.display_name, song.title)
|
||||||
song_name = QtGui.QListWidgetItem(song_detail)
|
song_name = QtGui.QListWidgetItem(song_detail)
|
||||||
song_name.setData(QtCore.Qt.UserRole, QtCore.QVariant(song.id))
|
song_name.setData(QtCore.Qt.UserRole, QtCore.QVariant(song.id))
|
||||||
self.ListView.addItem(song_name)
|
self.ListView.addItem(song_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user