This commit is contained in:
Damien Elmes 2016-12-15 21:12:51 +10:00
parent fb81f63fe3
commit 0bd79abe11
2 changed files with 7 additions and 9 deletions

View file

@ -640,6 +640,13 @@ title="%s" %s>%s</button>''' % (
self.onStats()
elif key == "y":
self.onSync()
# temp accelerators to work around bug
elif key == "/":
self.onStudyDeck()
elif key == "f":
self.onCram()
elif evt.matches(QKeySequence.Undo):
self.onUndo()
# App exit
##########################################################################

View file

@ -145,9 +145,6 @@
<property name="text">
<string>&amp;Undo</string>
</property>
<property name="shortcut">
<string>Ctrl+Z</string>
</property>
</action>
<action name="actionCheckMediaDatabase">
<property name="text">
@ -216,9 +213,6 @@
<property name="text">
<string>Study Deck...</string>
</property>
<property name="shortcut">
<string>/</string>
</property>
</action>
<action name="actionEmptyCards">
<property name="text">
@ -229,9 +223,6 @@
<property name="text">
<string>Create Filtered Deck...</string>
</property>
<property name="shortcut">
<string>F</string>
</property>
</action>
<action name="actionNoteTypes">
<property name="text">