mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
disable window modal progress dialog which is causing crashes
This commit is contained in:
parent
b65c7bc5ed
commit
966aca0f20
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ Your pysqlite2 is too old. Anki will appear frozen during long operations."""
|
|||
self._win.setCancelButton(None)
|
||||
self._win.setAutoClose(False)
|
||||
self._win.setAutoReset(False)
|
||||
self._win.setWindowModality(Qt.ApplicationModal)
|
||||
if not isMac:
|
||||
self._win.setWindowModality(Qt.ApplicationModal)
|
||||
# we need to manually manage minimum time to show, as qt gets confused
|
||||
# by the db handler
|
||||
self._win.setMinimumDuration(100000)
|
||||
|
|
Loading…
Reference in a new issue