This commit is contained in:
Kovid Goyal 2017-03-08 08:34:36 +05:30
parent 39ee86dfe3
commit 3a515c1db6

View File

@ -213,7 +213,7 @@ class InterfaceAction(QObject):
description=None, triggered=None, shortcut_name=None): description=None, triggered=None, shortcut_name=None):
''' '''
Convenience method to easily add actions to a QMenu. Convenience method to easily add actions to a QMenu.
Returns the created QAction, This action has one extra attribute Returns the created QAction. This action has one extra attribute
calibre_shortcut_unique_name which if not None refers to the unique calibre_shortcut_unique_name which if not None refers to the unique
name under which this action is registered with the keyboard manager. name under which this action is registered with the keyboard manager.