mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05: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):
|
def _keyHandler(self, evt):
|
||||||
key = unicode(evt.text())
|
key = unicode(evt.text())
|
||||||
if key == "c":
|
if key == "f":
|
||||||
self.mw.onCram()
|
self.mw.onCram()
|
||||||
|
|
||||||
def _selDeck(self, did):
|
def _selDeck(self, did):
|
||||||
|
|
@ -256,7 +256,7 @@ body { margin: 1em; -webkit-user-select: none; }
|
||||||
["", "shared", _("Get Shared")],
|
["", "shared", _("Get Shared")],
|
||||||
["", "create", _("Create")],
|
["", "create", _("Create")],
|
||||||
["Ctrl+I", "import", _("Import File")],
|
["Ctrl+I", "import", _("Import File")],
|
||||||
["C", "cram", _("Filter/Cram")],
|
["F", "cram", _("Filter/Cram")],
|
||||||
]
|
]
|
||||||
buf = ""
|
buf = ""
|
||||||
for b in links:
|
for b in links:
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ class Overview(object):
|
||||||
key = unicode(evt.text())
|
key = unicode(evt.text())
|
||||||
if key == "o":
|
if key == "o":
|
||||||
self.mw.onDeckConf()
|
self.mw.onDeckConf()
|
||||||
if key == "c" and not cram:
|
if key == "f" and not cram:
|
||||||
self.mw.onCram()
|
self.mw.onCram()
|
||||||
if key == "r" and cram:
|
if key == "r" and cram:
|
||||||
self.mw.col.sched.rebuildDyn()
|
self.mw.col.sched.rebuildDyn()
|
||||||
|
|
@ -194,7 +194,7 @@ text-align: center;
|
||||||
if self.mw.col.sched.newDue() or \
|
if self.mw.col.sched.newDue() or \
|
||||||
self.mw.col.sched.revDue():
|
self.mw.col.sched.revDue():
|
||||||
links.append(["L", "limits", _("Study More")])
|
links.append(["L", "limits", _("Study More")])
|
||||||
links.append(["C", "cram", _("Filter/Cram")])
|
links.append(["F", "cram", _("Filter/Cram")])
|
||||||
buf = ""
|
buf = ""
|
||||||
for b in links:
|
for b in links:
|
||||||
if b[0]:
|
if b[0]:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue