forget last card when study stats opened

This commit is contained in:
Damien Elmes 2009-05-09 02:27:23 +09:00
parent f0b7e889ec
commit 02930e5713

View file

@ -1169,6 +1169,8 @@ learnt today")
self.mainWin.optionsLabel.setToolTip(statToolTip)
def showStudyScreen(self):
# forget last card
self.lastCard = None
self.mainWin.optionsButton.setChecked(self.config['showStudyOptions'])
self.mainWin.optionsBox.setShown(self.config['showStudyOptions'])
self.switchToStudyScreen()