make sure to include current deck if creating filtered from shortcut

This commit is contained in:
Damien Elmes 2012-06-15 02:36:47 +09:00
parent 8a414fff29
commit 58a2391962

View file

@ -64,7 +64,8 @@ class Overview(object):
if key == "o":
self.mw.onDeckConf()
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:
self.mw.col.sched.rebuildDyn()
self.mw.reset()