mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 21:57:12 -05: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):
|
def onClose(self):
|
||||||
if self.inMainWindow():
|
if self.inMainWindow():
|
||||||
self.saveAndClose(hideWelcome=self.isCramming())
|
self.saveAndClose(hideWelcome=self.isCramming())
|
||||||
if cramming:
|
if self.isCramming():
|
||||||
self.loadRecent(0)
|
self.loadRecent(0)
|
||||||
else:
|
else:
|
||||||
self.app.activeWindow().close()
|
self.app.activeWindow().close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue