From 6148a28bfb1d93ec8ad697aec7a7f3b9efd4e266 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 8 Dec 2011 02:32:44 +0900 Subject: [PATCH] make sure we autosync on collection close --- aqt/main.py | 1 + aqt/profiles.py | 1 + 2 files changed, 2 insertions(+) diff --git a/aqt/main.py b/aqt/main.py index d9f3e957e..2db83a109 100755 --- a/aqt/main.py +++ b/aqt/main.py @@ -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 ########################################################################## diff --git a/aqt/profiles.py b/aqt/profiles.py index b1ccf9c2b..1a53d6fed 100644 --- a/aqt/profiles.py +++ b/aqt/profiles.py @@ -33,6 +33,7 @@ profileConf = dict( numBackups=30, lastOptimize=intTime(), lang="en", + disabledAddons=[], # editing fullSearch=False,