mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
forget last card when study stats opened
This commit is contained in:
parent
f0b7e889ec
commit
02930e5713
1 changed files with 2 additions and 0 deletions
|
|
@ -1169,6 +1169,8 @@ learnt today")
|
||||||
self.mainWin.optionsLabel.setToolTip(statToolTip)
|
self.mainWin.optionsLabel.setToolTip(statToolTip)
|
||||||
|
|
||||||
def showStudyScreen(self):
|
def showStudyScreen(self):
|
||||||
|
# forget last card
|
||||||
|
self.lastCard = None
|
||||||
self.mainWin.optionsButton.setChecked(self.config['showStudyOptions'])
|
self.mainWin.optionsButton.setChecked(self.config['showStudyOptions'])
|
||||||
self.mainWin.optionsBox.setShown(self.config['showStudyOptions'])
|
self.mainWin.optionsBox.setShown(self.config['showStudyOptions'])
|
||||||
self.switchToStudyScreen()
|
self.switchToStudyScreen()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue