mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression caused by use of _new_book in USBMS
This commit is contained in:
parent
f66a9077c6
commit
bb000ba2c3
@ -298,8 +298,9 @@ class USBMS(CLI, Device):
|
|||||||
# Clear the _new_book indication, as we are supposed to be done with
|
# Clear the _new_book indication, as we are supposed to be done with
|
||||||
# adding books at this point
|
# adding books at this point
|
||||||
for blist in booklists:
|
for blist in booklists:
|
||||||
for book in blist:
|
if blist is not None:
|
||||||
book._new_book = False
|
for book in blist:
|
||||||
|
book._new_book = False
|
||||||
|
|
||||||
self.report_progress(1.0, _('Sending metadata to device...'))
|
self.report_progress(1.0, _('Sending metadata to device...'))
|
||||||
debug_print('USBMS: finished sync_booklists')
|
debug_print('USBMS: finished sync_booklists')
|
||||||
|
@ -148,8 +148,8 @@ class FormatList(QListWidget):
|
|||||||
|
|
||||||
class ImageView(QLabel):
|
class ImageView(QLabel):
|
||||||
|
|
||||||
MAX_WIDTH = 400
|
MAX_WIDTH = 600
|
||||||
MAX_HEIGHT = 300
|
MAX_HEIGHT = 800
|
||||||
DROPABBLE_EXTENSIONS = IMAGE_EXTENSIONS
|
DROPABBLE_EXTENSIONS = IMAGE_EXTENSIONS
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user