Closed vi closed 11 years ago
Probably should be this:
diff --git a/enki/plugins/appshortcuts/ActionModel.py b/enki/plugins/appshortcuts/ActionModel.py
index e1d2f9b..e332517 100644
--- a/enki/plugins/appshortcuts/ActionModel.py
+++ b/enki/plugins/appshortcuts/ActionModel.py
@@ -146,7 +146,7 @@ class ActionModel(QAbstractItemModel):
not actionToCheck.shortcut().isEmpty() and \
actionToCheck.shortcut() == shortcut :
error = tr( "Can't set shortcut, it's already used by action '%s'." % \
- self._cleanText( a.text() ))
+ self._cleanText( action.text() ))
raise UserWarning(error)
action.setShortcut( shortcut )
Yes Pushed a fix