Fix #1810447 [Polish multiple books counts down from 100% to 0%](https://bugs.launchpad.net/calibre/+bug/1810447)

This commit is contained in:
Kovid Goyal 2019-01-04 06:35:30 +05:30
parent 2d9362905f
commit e190bdaf21
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -265,7 +265,7 @@ class Polish(QDialog): # {{{
self.pd.reject()
raise
else:
self.pd.set_value(num)
self.pd.set_value(self.pd.max - num)
QTimer.singleShot(0, self.do_one)
def do_book(self, num, book_id, formats):