wizards/com/sun/star/wizards/ui/event/DataAware.py | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 6c3a09b3b3ca9ad0c81a55efaaedad35c39de767 Author: Xisco Fauli <aniste...@gmail.com> Date: Tue Sep 10 21:09:09 2013 +0200 pywizards: fix the switch between elements in the listboxs Change-Id: I4603232d158ad3adb60697dbf1425eb5dfe5d71f diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.py b/wizards/com/sun/star/wizards/ui/event/DataAware.py index 323257a..0fae91a 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits