From 4fc898ec1e1dd24f55b95de202eb198631851807 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 11 Feb 2020 16:47:24 +1000 Subject: [PATCH] accept clicks on the progress dialog close button when updating --- qt/aqt/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/progress.py b/qt/aqt/progress.py index 588608146..35d86bd25 100644 --- a/qt/aqt/progress.py +++ b/qt/aqt/progress.py @@ -132,7 +132,7 @@ class ProgressManager: self._win.form.progressBar.setValue(self._counter) if process and elapsed >= 0.2: self._updating = True - self.app.processEvents(QEventLoop.ExcludeUserInputEvents) + self.app.processEvents() self._updating = False self._lastUpdate = time.time()