mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
pass the diag, not the python obj
This commit is contained in:
parent
f3f68a496b
commit
c6d9d0ceec
1 changed files with 1 additions and 1 deletions
|
@ -2030,7 +2030,7 @@ day = :d""", d=yesterday)
|
||||||
self.setBusy()
|
self.setBusy()
|
||||||
parent = self.progressParent or self.app.activeWindow() or self
|
parent = self.progressParent or self.app.activeWindow() or self
|
||||||
if self.progressWins:
|
if self.progressWins:
|
||||||
parent = self.progressWins[-1]
|
parent = self.progressWins[-1].diag
|
||||||
p = ui.utils.ProgressWin(parent, max, min, title)
|
p = ui.utils.ProgressWin(parent, max, min, title)
|
||||||
self.progressWins.append(p)
|
self.progressWins.append(p)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue