avoid backwards-moving progress bars

This commit is contained in:
Damien Elmes 2009-07-03 01:09:33 +09:00
parent 1b849ccf07
commit 05677925f4

View file

@ -232,6 +232,7 @@ class ProgressWin(object):
self.counter += 1 self.counter += 1
else: else:
self.counter = value + 1 self.counter = value + 1
if self.max:
self.diag.setValue(value) self.diag.setValue(value)
if process: if process:
self.app.processEvents() self.app.processEvents()