mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
avoid backwards-moving progress bars
This commit is contained in:
parent
1b849ccf07
commit
05677925f4
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ class ProgressWin(object):
|
|||
self.counter += 1
|
||||
else:
|
||||
self.counter = value + 1
|
||||
self.diag.setValue(value)
|
||||
if self.max:
|
||||
self.diag.setValue(value)
|
||||
if process:
|
||||
self.app.processEvents()
|
||||
|
||||
|
|
Loading…
Reference in a new issue