mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
update series info from metadata
This commit is contained in:
parent
fb5c70af29
commit
f283dc892e
@ -594,10 +594,8 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog):
|
||||
self.rating.setValue(int(book.rating))
|
||||
if book.tags:
|
||||
self.tags.setText(', '.join(book.tags))
|
||||
print 'setting series'
|
||||
print book.series
|
||||
if book.series is not None:
|
||||
if self.series is not None:
|
||||
if self.series.text() is None or self.series.text() == '':
|
||||
self.series.setText(book.series)
|
||||
if book.series_index is not None:
|
||||
self.series_index.setValue(book.series_index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user