From 52313fd0bfe45a39af92a343570cd0f6447b3833 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 14 Jan 2018 19:29:56 +1000 Subject: [PATCH] work around progress dlg hang at startup on osx with autosync on, when the progress dialog is closed and the main window appears, it becomes stuck. hiding the dialog instead of closing it seems to fix this. --- aqt/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/progress.py b/aqt/progress.py index 8f9fe1f66..e3ad1c000 100644 --- a/aqt/progress.py +++ b/aqt/progress.py @@ -85,7 +85,7 @@ class ProgressManager: def cancel(self): self._closingDown = True - self.close() + self.hide() def closeEvent(self, evt): if self._closingDown: