From 873811a56e31167a2e80c8cef5e09228010f28dc Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 21 Dec 2012 20:55:57 +0900 Subject: [PATCH] disable undo when switching profiles --- aqt/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/main.py b/aqt/main.py index a7bec758d..d5a63d3af 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -261,6 +261,7 @@ how to restore from a backup.""") return self.unloadProfile() self.hideSchemaMsg = False self.progress.setupDB(self.col.db) + self.maybeEnableUndo() self.moveToState("deckBrowser") def unloadCollection(self):