filter/cram shortcut is f

This commit is contained in:
Damien Elmes 2012-05-25 11:44:56 +09:00
parent 0491356536
commit eb395ac2c0
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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]: