pass the diag, not the python obj

This commit is contained in:
Damien Elmes 2009-03-05 00:26:37 +09:00
parent f3f68a496b
commit c6d9d0ceec

View file

@ -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)