mirror of
https://github.com/ankitects/anki.git
synced 2025-11-22 12:37:13 -05:00
make sure we autosync on collection close
This commit is contained in:
parent
2aca212973
commit
6148a28bfb
2 changed files with 2 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ Are you sure?"""):
|
|||
self.col.close()
|
||||
self.col = None
|
||||
self.backup()
|
||||
self.onSync(auto=True, reload=False)
|
||||
|
||||
# Backup and auto-optimize
|
||||
##########################################################################
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ profileConf = dict(
|
|||
numBackups=30,
|
||||
lastOptimize=intTime(),
|
||||
lang="en",
|
||||
disabledAddons=[],
|
||||
|
||||
# editing
|
||||
fullSearch=False,
|
||||
|
|
|
|||
Loading…
Reference in a new issue