mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
disable progress handler if apsw enabled
This commit is contained in:
parent
2a72a4dc70
commit
dce35eda06
1 changed files with 6 additions and 5 deletions
|
@ -2715,6 +2715,7 @@ class DeckStorage(object):
|
|||
deck.needLock = lock
|
||||
deck.progressHandlerCalled = 0
|
||||
deck.progressHandlerEnabled = False
|
||||
if not apsw:
|
||||
try:
|
||||
deck.engine.raw_connection().set_progress_handler(
|
||||
deck.progressHandler, 100)
|
||||
|
|
Loading…
Reference in a new issue