Change in the booklist.
This commit is contained in:
parent
b431ce82f2
commit
e29712856c
|
@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
|
|||
booksDB = getBooksFromDB()
|
||||
booksStringList = QStringList()
|
||||
for book in booksDB:
|
||||
booksStringList.append(book.getTitle())
|
||||
booksStringList.append(book.getAuthor() + u" : " + book.getTitle() + u", " + str(book.getEdition()) + u". edition")
|
||||
self.booksEdit.addItems(booksStringList)
|
||||
self.booksEdit.sortItems()
|
||||
|
||||
|
|
|
@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
|
|||
booksDB = getBooksFromDB()
|
||||
booksStringList = QStringList()
|
||||
for book in booksDB:
|
||||
booksStringList.append(book.getTitle())
|
||||
booksStringList.append(book.getAuthor() + u" : " + book.getTitle() + u", " + str(book.getEdition()) + u". utgave")
|
||||
self.booksEdit.addItems(booksStringList)
|
||||
self.booksEdit.sortItems()
|
||||
|
||||
|
|
Reference in New Issue