diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-08-10 02:23:02 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-18 02:57:45 +0200 |
commit | 9e5ad1ef6566f609cea1bb09bdec0a73299f93d6 (patch) | |
tree | 44292e0e81eec8c183870b06ef320b2a1d3ee89b /wizards/com/sun/star/wizards/ui/event/UnoDataAware.py | |
parent | 1723ba129281ac791a2e5faad67cd9a7de2b8ab4 (diff) |
Implement add button
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/event/UnoDataAware.py')
-rw-r--r-- | wizards/com/sun/star/wizards/ui/event/UnoDataAware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py index 83c61db5a6a1..8afef0a08152 100644 --- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py +++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py @@ -26,7 +26,7 @@ class UnoDataAware(DataAware): def enableControls(self, value): for i in self.disableObjects: Helper.setUnoPropertyValue( - i.Model, PropertyNames.PROPERTY_ENABLED, value) + i.Model, PropertyNames.PROPERTY_ENABLED, bool(value)) def setToUI(self, value): if self.isShort: |