forked from openlp/openlp
commit
a6393e4e42
@ -109,7 +109,7 @@ class SongMaintenanceForm(QtGui.QDialog, Ui_SongMaintenanceDialog):
|
|||||||
author_name = QtGui.QListWidgetItem(author.display_name)
|
author_name = QtGui.QListWidgetItem(author.display_name)
|
||||||
else:
|
else:
|
||||||
author_name = QtGui.QListWidgetItem(
|
author_name = QtGui.QListWidgetItem(
|
||||||
u' '.join(author.first_name, author.last_name))
|
u' '.join([author.first_name, author.last_name]))
|
||||||
author_name.setData(QtCore.Qt.UserRole, QtCore.QVariant(author.id))
|
author_name.setData(QtCore.Qt.UserRole, QtCore.QVariant(author.id))
|
||||||
self.AuthorsListWidget.addItem(author_name)
|
self.AuthorsListWidget.addItem(author_name)
|
||||||
if self.AuthorsListWidget.count() == 0:
|
if self.AuthorsListWidget.count() == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user