From 059db539a7bbc9bc78ff195bb024430ff73bb112 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 16 Aug 2017 17:43:56 +1000 Subject: [PATCH] avoid setting modality in progress dialog when modal, the program hangs on OS X when moving back and forth between the main window and the profile manager, and I haven't been able to find a better workaround .update() ignores user input when processing events, so this will hopefully not break things --- aqt/progress.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aqt/progress.py b/aqt/progress.py index 07d137700..82d65d316 100644 --- a/aqt/progress.py +++ b/aqt/progress.py @@ -112,7 +112,6 @@ class ProgressManager: self._win.setCancelButton(None) self._win.setAutoClose(False) self._win.setAutoReset(False) - self._win.setWindowModality(Qt.ApplicationModal) self._win.setMinimumWidth(300) # we need to manually manage minimum time to show, as qt gets confused # by the db handler