avoid setting modality in progress dialog

when modal, the program hangs on OS X when moving back and forth
between the main window and the profile manager, and I haven't been able
to find a better workaround

.update() ignores user input when processing events, so this will
hopefully not break things
This commit is contained in:
Damien Elmes 2017-08-16 17:43:56 +10:00
parent 489d16ed14
commit 059db539a7

View File

@ -112,7 +112,6 @@ class ProgressManager:
self._win.setCancelButton(None) self._win.setCancelButton(None)
self._win.setAutoClose(False) self._win.setAutoClose(False)
self._win.setAutoReset(False) self._win.setAutoReset(False)
self._win.setWindowModality(Qt.ApplicationModal)
self._win.setMinimumWidth(300) self._win.setMinimumWidth(300)
# we need to manually manage minimum time to show, as qt gets confused # we need to manually manage minimum time to show, as qt gets confused
# by the db handler # by the db handler