From 4e3a4f1e599e552943855901aa23752a19afb5fb Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 20 Feb 2013 07:45:00 +0100 Subject: [PATCH] changed doc for can_shortcuts --- openlp/core/lib/ui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/lib/ui.py b/openlp/core/lib/ui.py index 57a7d8f41..605550043 100644 --- a/openlp/core/lib/ui.py +++ b/openlp/core/lib/ui.py @@ -250,9 +250,9 @@ def create_action(parent, name, **kwargs): The action's data. ``can_shortcuts`` - Boolean stating if this action has shortcuts or if it can have shortcuts. If ``True`` the action is added to - shortcut dialog. **Note**: Never set the shortcuts yourselt; use the :class:`~openlp.core.lib.Settings` class - to define the action's shortcuts. + Capability stating if this action can have shortcuts. If ``True`` the action is added to shortcut dialog + otherwise it it not. Define your shortcut in the :class:`~openlp.core.lib.Settings` class. *Note*: When *not* + ``True`` you *must not* set a shortcuts at all. ``context`` A context for the shortcut execution.