summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.py b/wizards/com/sun/star/wizards/ui/event/DataAware.py
index 323257a1705e..0fae91a559f6 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.py
@@ -131,6 +131,9 @@ class DataAware(object):
if useUno:
uno.invoke(self._dataObject, "set" + self._field, (ui,))
else:
+ if isinstance(ui,tuple):
+ #Listbox Element
+ ui = ui[0]
setattr(self._dataObject, self._field, ui)
self.enableControls(ui)
except Exception: