Change in the booklist.
This commit is contained in:
parent
b431ce82f2
commit
e29712856c
|
@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
|
||||||
booksDB = getBooksFromDB()
|
booksDB = getBooksFromDB()
|
||||||
booksStringList = QStringList()
|
booksStringList = QStringList()
|
||||||
for book in booksDB:
|
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.addItems(booksStringList)
|
||||||
self.booksEdit.sortItems()
|
self.booksEdit.sortItems()
|
||||||
|
|
||||||
|
|
|
@ -1345,7 +1345,7 @@ class CourseDlg(QDialog):
|
||||||
booksDB = getBooksFromDB()
|
booksDB = getBooksFromDB()
|
||||||
booksStringList = QStringList()
|
booksStringList = QStringList()
|
||||||
for book in booksDB:
|
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.addItems(booksStringList)
|
||||||
self.booksEdit.sortItems()
|
self.booksEdit.sortItems()
|
||||||
|
|
||||||
|
|
Reference in New Issue