mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04: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)
|
||||
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue