mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3486 (Edit metadata crash)
This commit is contained in:
parent
257c92fa14
commit
e2c00b9a7a
@ -330,6 +330,8 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog):
|
|||||||
if not ext:
|
if not ext:
|
||||||
ext = ''
|
ext = ''
|
||||||
size = self.db.sizeof_format(row, ext)
|
size = self.db.sizeof_format(row, ext)
|
||||||
|
if size is None:
|
||||||
|
continue
|
||||||
Format(self.formats, ext, size)
|
Format(self.formats, ext, size)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user