Skip to content

Commit

Permalink
disable shortcuts as the interfere with my addon
Browse files Browse the repository at this point in the history
  • Loading branch information
tarix committed Jan 25, 2019
1 parent 45e905e commit dccaf3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions __init__.py
Expand Up @@ -20,17 +20,19 @@ def onMorphManPreferences():


def main():
mw.form.menuTools.addSeparator()

# Add recalculate menu button
a = QAction( '&MorphMan Recalc', mw )
a.setStatusTip(_("Recalculate all.db, note fields, and new card ordering"))
a.setShortcut(_("Ctrl+M"))
#a.setShortcut(_("Ctrl+M"))
a.triggered.connect(onMorphManRecalc)
mw.form.menuTools.addAction( a )

# Add gui preferences menu button
a = QAction( 'MorphMan &Preferences', mw )
a.setStatusTip(_("Change inspected cards, fields and tags"))
a.setShortcut(_("Ctrl+O"))
#a.setShortcut(_("Ctrl+O"))
a.triggered.connect(onMorphManPreferences)
mw.form.menuTools.addAction( a )

Expand Down

0 comments on commit dccaf3f

Please sign in to comment.