mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
disable undo when switching profiles
This commit is contained in:
parent
2095e5c4b3
commit
873811a56e
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ how to restore from a backup.""")
|
||||||
return self.unloadProfile()
|
return self.unloadProfile()
|
||||||
self.hideSchemaMsg = False
|
self.hideSchemaMsg = False
|
||||||
self.progress.setupDB(self.col.db)
|
self.progress.setupDB(self.col.db)
|
||||||
|
self.maybeEnableUndo()
|
||||||
self.moveToState("deckBrowser")
|
self.moveToState("deckBrowser")
|
||||||
|
|
||||||
def unloadCollection(self):
|
def unloadCollection(self):
|
||||||
|
|
Loading…
Reference in a new issue