mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
make sure to include current deck if creating filtered from shortcut
This commit is contained in:
parent
8a414fff29
commit
58a2391962
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ class Overview(object):
|
||||||
if key == "o":
|
if key == "o":
|
||||||
self.mw.onDeckConf()
|
self.mw.onDeckConf()
|
||||||
if key == "f" and not cram:
|
if key == "f" and not cram:
|
||||||
self.mw.onCram()
|
deck = self.mw.col.decks.current()
|
||||||
|
self.mw.onCram("'deck:%s'" % deck['name'])
|
||||||
if key == "r" and cram:
|
if key == "r" and cram:
|
||||||
self.mw.col.sched.rebuildDyn()
|
self.mw.col.sched.rebuildDyn()
|
||||||
self.mw.reset()
|
self.mw.reset()
|
||||||
|
|
Loading…
Reference in a new issue