mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
filter/cram shortcut is f
This commit is contained in:
parent
0491356536
commit
eb395ac2c0
2 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ or importing text files."""))
|
|||
|
||||
def _keyHandler(self, evt):
|
||||
key = unicode(evt.text())
|
||||
if key == "c":
|
||||
if key == "f":
|
||||
self.mw.onCram()
|
||||
|
||||
def _selDeck(self, did):
|
||||
|
@ -256,7 +256,7 @@ body { margin: 1em; -webkit-user-select: none; }
|
|||
["", "shared", _("Get Shared")],
|
||||
["", "create", _("Create")],
|
||||
["Ctrl+I", "import", _("Import File")],
|
||||
["C", "cram", _("Filter/Cram")],
|
||||
["F", "cram", _("Filter/Cram")],
|
||||
]
|
||||
buf = ""
|
||||
for b in links:
|
||||
|
|
|
@ -63,7 +63,7 @@ class Overview(object):
|
|||
key = unicode(evt.text())
|
||||
if key == "o":
|
||||
self.mw.onDeckConf()
|
||||
if key == "c" and not cram:
|
||||
if key == "f" and not cram:
|
||||
self.mw.onCram()
|
||||
if key == "r" and cram:
|
||||
self.mw.col.sched.rebuildDyn()
|
||||
|
@ -194,7 +194,7 @@ text-align: center;
|
|||
if self.mw.col.sched.newDue() or \
|
||||
self.mw.col.sched.revDue():
|
||||
links.append(["L", "limits", _("Study More")])
|
||||
links.append(["C", "cram", _("Filter/Cram")])
|
||||
links.append(["F", "cram", _("Filter/Cram")])
|
||||
buf = ""
|
||||
for b in links:
|
||||
if b[0]:
|
||||
|
|
Loading…
Reference in a new issue