mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
accept ctrl+alt+shift+c for reuse # cloze
This commit is contained in:
parent
a08776137b
commit
55256d0f39
1 changed files with 3 additions and 0 deletions
|
@ -376,6 +376,9 @@ class Editor(object):
|
||||||
but = b("cloze", self.onCloze, _("Ctrl+Shift+C"),
|
but = b("cloze", self.onCloze, _("Ctrl+Shift+C"),
|
||||||
_("Cloze deletion (Ctrl+Shift+C)"), text="[...]")
|
_("Cloze deletion (Ctrl+Shift+C)"), text="[...]")
|
||||||
but.setFixedWidth(24)
|
but.setFixedWidth(24)
|
||||||
|
s = self.clozeShortcut2 = QShortcut(
|
||||||
|
QKeySequence(_("Ctrl+Alt+Shift+C")), self.parentWindow)
|
||||||
|
s.connect(s, SIGNAL("activated()"), self.onCloze)
|
||||||
# fixme: better image names
|
# fixme: better image names
|
||||||
b("mail-attachment", self.onAddMedia, _("F3"),
|
b("mail-attachment", self.onAddMedia, _("F3"),
|
||||||
_("Attach pictures/audio/video (F3)"))
|
_("Attach pictures/audio/video (F3)"))
|
||||||
|
|
Loading…
Reference in a new issue