diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/common/SystemDialog.py | 3 |
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() |