diff options
author | Simon Poirier <simpoir@gmail.com> | 2009-10-28 06:15:15 (GMT) |
---|---|---|
committer | Simon Poirier <simpoir@gmail.com> | 2009-10-28 06:15:15 (GMT) |
commit | 53af01c95abe622c0490b43c12439a04aa449509 (patch) | |
tree | 6e7ca498415f8e20874c1eaf7b2c19458218eeb3 /addons/disablewidget.py | |
parent | d5e7b4d380dfa9b979071b862e67d29ec127c542 (diff) |
addon test extension to check interface contraints
Diffstat (limited to 'addons/disablewidget.py')
-rw-r--r-- | addons/disablewidget.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/disablewidget.py b/addons/disablewidget.py index fd88303..8aad915 100644 --- a/addons/disablewidget.py +++ b/addons/disablewidget.py @@ -21,14 +21,13 @@ from ..services import ObjectStore class DisableWidgetAction(Action): target = TStringProperty("0") - def __init__(self, target): + def __init__(self, target=None): """Constructor @param target target treeish """ Action.__init__(self) if target is not None: self.target = target - self._widget = None def do(self): """Action do""" |