Fix regression caused by use of _new_book in USBMS

This commit is contained in:
Kovid Goyal 2010-06-27 18:20:31 -06:00
parent f66a9077c6
commit bb000ba2c3
2 changed files with 5 additions and 4 deletions

View File

@ -298,6 +298,7 @@ class USBMS(CLI, Device):
# Clear the _new_book indication, as we are supposed to be done with
# adding books at this point
for blist in booklists:
if blist is not None:
for book in blist:
book._new_book = False

View File

@ -148,8 +148,8 @@ class FormatList(QListWidget):
class ImageView(QLabel):
MAX_WIDTH = 400
MAX_HEIGHT = 300
MAX_WIDTH = 600
MAX_HEIGHT = 800
DROPABBLE_EXTENSIONS = IMAGE_EXTENSIONS
@classmethod