mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
flush after startProgress() in case a lost focus has been triggered
This commit is contained in:
parent
099202c28f
commit
1d4710b6d6
1 changed files with 1 additions and 0 deletions
|
@ -1784,6 +1784,7 @@ cardTags.tagId in %s""" % ids2str(ids)
|
||||||
def startProgress(self, max=0, min=0, title=None):
|
def startProgress(self, max=0, min=0, title=None):
|
||||||
self.enableProgressHandler()
|
self.enableProgressHandler()
|
||||||
runHook("startProgress", max, min, title)
|
runHook("startProgress", max, min, title)
|
||||||
|
self.s.flush()
|
||||||
|
|
||||||
def updateProgress(self, label=None, value=None):
|
def updateProgress(self, label=None, value=None):
|
||||||
runHook("updateProgress", label, value)
|
runHook("updateProgress", label, value)
|
||||||
|
|
Loading…
Reference in a new issue