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 7ce49cb1f8
commit fc7c2fe187

View file

@ -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()