accept clicks on the progress dialog close button when updating

This commit is contained in:
Damien Elmes 2020-02-11 16:47:24 +10:00
parent 0c27126817
commit 4fc898ec1e

View File

@ -132,7 +132,7 @@ class ProgressManager:
self._win.form.progressBar.setValue(self._counter) self._win.form.progressBar.setValue(self._counter)
if process and elapsed >= 0.2: if process and elapsed >= 0.2:
self._updating = True self._updating = True
self.app.processEvents(QEventLoop.ExcludeUserInputEvents) self.app.processEvents()
self._updating = False self._updating = False
self._lastUpdate = time.time() self._lastUpdate = time.time()