summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-03 13:40:49 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-05-08 09:36:38 +0000
commit9d05b44bb9a3a599ae84867077eaf6c721959209 (patch)
tree56c645d102d29b1082deb2c09bfea553cce130e0 /wizards
parent99a41e7862c68759f3d3dd5e4bf096848c4859b2 (diff)
PyWebWizard: Fixing bugs and implementation of mising features.
The FolderPicker does not implement the XInitialization interface. Change-Id: I424a2f8c984c56d21d63f8921633b0d1450a65fa
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/SystemDialog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.py b/wizards/com/sun/star/wizards/common/SystemDialog.py
index cf640ff6cbed..dc0b3f4f2125 100644
--- a/wizards/com/sun/star/wizards/common/SystemDialog.py
+++ b/wizards/com/sun/star/wizards/common/SystemDialog.py
@@ -37,7 +37,8 @@ class SystemDialog(object):
# Add a name textbox to the filepicker
if self.systemDialog is not None:
- self.systemDialog.initialize((Type,))
+ if (hasattr(self.systemDialog, "initialize")):
+ self.systemDialog.initialize((Type,))
except Exception:
traceback.print_exc()