forked from openlp/openlp
changed doc for can_shortcuts
This commit is contained in:
parent
c2b5c65756
commit
4e3a4f1e59
@ -250,9 +250,9 @@ def create_action(parent, name, **kwargs):
|
|||||||
The action's data.
|
The action's data.
|
||||||
|
|
||||||
``can_shortcuts``
|
``can_shortcuts``
|
||||||
Boolean stating if this action has shortcuts or if it can have shortcuts. If ``True`` the action is added to
|
Capability stating if this action can have shortcuts. If ``True`` the action is added to shortcut dialog
|
||||||
shortcut dialog. **Note**: Never set the shortcuts yourselt; use the :class:`~openlp.core.lib.Settings` class
|
otherwise it it not. Define your shortcut in the :class:`~openlp.core.lib.Settings` class. *Note*: When *not*
|
||||||
to define the action's shortcuts.
|
``True`` you *must not* set a shortcuts at all.
|
||||||
|
|
||||||
``context``
|
``context``
|
||||||
A context for the shortcut execution.
|
A context for the shortcut execution.
|
||||||
|
Loading…
Reference in New Issue
Block a user