From 638a72301ce41232b4d9dcfbfbb4788f32005927 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 25 May 2011 13:26:18 +0200 Subject: [PATCH] mention the need of an object name in the doc string --- openlp/core/utils/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/utils/actions.py b/openlp/core/utils/actions.py index 4fe53e6e0..0a04889d6 100644 --- a/openlp/core/utils/actions.py +++ b/openlp/core/utils/actions.py @@ -203,7 +203,8 @@ class ActionList(object): Add an action to the list of actions. ``action`` - The action to add (QAction). + The action to add (QAction). **Note**, the action must not have an + empty ``objectName``. ``category`` The category this action belongs to. The category can be a QString