diff options
-rw-r--r-- | wizards/com/sun/star/wizards/text/TextFieldHandler.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.py b/wizards/com/sun/star/wizards/text/TextFieldHandler.py index ce00db82a708..9af08be23f8d 100644 --- a/wizards/com/sun/star/wizards/text/TextFieldHandler.py +++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.py @@ -102,9 +102,12 @@ class TextFieldHandler(object): TextFieldHandler.dictTextFields[_FieldName] except KeyError: return None - if hasattr(DependentTextFields, "TextFieldMaster"): - DependentTextFields.TextFieldMaster.Content = _FieldContent - self.refreshTextFields() + try: + if hasattr(DependentTextFields, "TextFieldMaster"): + DependentTextFields.TextFieldMaster.Content = _FieldContent + self.refreshTextFields() + except UnknownPropertyException: + pass def updateDocInfoFields(self): try: |