mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure to clean up properly after incorrect user/pass
This commit is contained in:
parent
9b7ce444b4
commit
9b9bb4bd64
1 changed files with 3 additions and 1 deletions
|
@ -2362,7 +2362,9 @@ This deck already exists on your computer. Overwrite the local copy?"""),
|
|||
def cleanNewDeck(self):
|
||||
"Unload a new deck if an initial sync failed."
|
||||
self.deck = None
|
||||
self.moveToState("initial")
|
||||
self.deckPath = None
|
||||
self.moveToState("noDeck")
|
||||
self.syncFinished = True
|
||||
|
||||
def setSyncStatus(self, text, *args):
|
||||
self.mainWin.welcomeText.append("<font size=+2>" + text + "</font>")
|
||||
|
|
Loading…
Reference in a new issue