diff options
author | Xisco Fauli <anistenis@gmail.com> | 2013-09-10 21:09:09 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-19 12:16:03 +0100 |
commit | 6533f579d363fbd7ef7d3b2d6aae8762031f766f (patch) | |
tree | 2762082eb863c378720c0b4492651f5951e786e0 /wizards | |
parent | 6e3fb2a5c7ad75fe10e0e1b1a8de0863f3b1ac23 (diff) |
pywizards: fix the switch between elements in the listboxs
Change-Id: I4603232d158ad3adb60697dbf1425eb5dfe5d71f
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/ui/event/DataAware.py | 3 |
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: |