mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
fix reference to isCramming
This commit is contained in:
parent
d0f918cdb0
commit
cafe070624
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
|||
def onClose(self):
|
||||
if self.inMainWindow():
|
||||
self.saveAndClose(hideWelcome=self.isCramming())
|
||||
if cramming:
|
||||
if self.isCramming():
|
||||
self.loadRecent(0)
|
||||
else:
|
||||
self.app.activeWindow().close()
|
||||
|
|
Loading…
Reference in a new issue