mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -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()
|
||||
parent = self.progressParent or self.app.activeWindow() or self
|
||||
if self.progressWins:
|
||||
parent = self.progressWins[-1]
|
||||
parent = self.progressWins[-1].diag
|
||||
p = ui.utils.ProgressWin(parent, max, min, title)
|
||||
self.progressWins.append(p)
|
||||
|
||||
|
|
Loading…
Reference in a new issue