mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 04:20:05 +01:00
IGN:Fix #3088 (Update metada from file)
This commit is contained in:
parent
967829c664
commit
94e30d312c
1 changed files with 3 additions and 3 deletions
|
|
@ -203,10 +203,10 @@ def set_metadata_from_format(self):
|
|||
if mi.pubdate:
|
||||
self.pubdate.setDate(QDate(mi.pubdate.year, mi.pubdate.month,
|
||||
mi.pubdate.day))
|
||||
if mi.series:
|
||||
if mi.series and mi.series.strip():
|
||||
self.series.setEditText(mi.series)
|
||||
if mi.series_index is not None:
|
||||
self.series_index.setValue(float(mi.series_index))
|
||||
if mi.series_index is not None:
|
||||
self.series_index.setValue(float(mi.series_index))
|
||||
|
||||
def set_cover(self):
|
||||
mi, ext = self.get_selected_format_metadata()
|
||||
|
|
|
|||
Loading…
Reference in a new issue