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 5c8c5aabaae5..9628f0cd27ba 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.py
@@ -124,6 +124,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: