Revert "avoid setting modality in progress dialog"

This reverts commit 059db539a7.

seems to work correctly in qt 5.9.2
This commit is contained in:
Damien Elmes 2017-10-20 13:25:38 +10:00
parent eaf09b5093
commit 1cc29278f2

View file

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