make sure to clean up properly after incorrect user/pass

This commit is contained in:
Damien Elmes 2011-01-02 18:43:03 +09:00
parent 9b7ce444b4
commit 9b9bb4bd64

View file

@ -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>")