From 1cc29278f2e5befffcf0f93acd81f52be562eaac Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 20 Oct 2017 13:25:38 +1000 Subject: [PATCH] Revert "avoid setting modality in progress dialog" This reverts commit 059db539a7bbc9bc78ff195bb024430ff73bb112. seems to work correctly in qt 5.9.2 --- aqt/progress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/progress.py b/aqt/progress.py index 82d65d316..07d137700 100644 --- a/aqt/progress.py +++ b/aqt/progress.py @@ -112,6 +112,7 @@ 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