mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't process events in progress bar start/update, it leads to obscure bugs
This commit is contained in:
parent
65a718fdbe
commit
d9a3658b56
1 changed files with 0 additions and 2 deletions
|
@ -221,10 +221,8 @@ class ProgressWin(object):
|
|||
self.app = QApplication.instance()
|
||||
if max == 0:
|
||||
self.diag.setLabelText(_("Processing..."))
|
||||
self.app.processEvents()
|
||||
|
||||
def update(self, label=None, value=None):
|
||||
self.app.processEvents()
|
||||
#print self.min, self.counter, self.max, label, time.time() - self.lastTime
|
||||
self.lastTime = time.time()
|
||||
if label:
|
||||
|
|
Loading…
Reference in a new issue