diff options
author | Xisco Fauli <anistenis@gmail.com> | 2012-10-15 20:14:59 +0200 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2012-10-15 23:58:15 +0200 |
commit | 299b38e93306f863d24f33aa03bd3af097e216ef (patch) | |
tree | 14f0a2c6fd32b53a4ef054e70d59f07e6f76f77d /wizards | |
parent | 201788d30508b7b9e04bdbd82ac10998fa8bd570 (diff) |
pyletter: Add missed listener
Change-Id: I10cb982ea00b3cc04dde68d55857577657ebd380
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py | 1 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py index c1a8e48b7419..fc1abe8c8534 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py @@ -708,7 +708,6 @@ class FaxWizardDialogImpl(FaxWizardDialog): Helper.setUnoPropertyValue(BPaperItem, PropertyNames.PROPERTY_ENABLED, False) - def validatePath(self): if self.myPathSelection.usedPathPicker: self.filenameChanged = True diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py index a6f063636e8b..307080058221 100644 --- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py @@ -1093,8 +1093,7 @@ class LetterWizardDialogImpl(LetterWizardDialog): self.myPathSelection.sDefaultDirectory = self.sUserTemplatePath self.myPathSelection.sDefaultName = "myLetterTemplate.ott" self.myPathSelection.sDefaultFilter = "writer8_template" - self.myPathSelection.addSelectionListener( - self.myPathSelectionListener()) + self.myPathSelection.addSelectionListener(self) def initConfiguration(self): try: @@ -1213,3 +1212,8 @@ class LetterWizardDialogImpl(LetterWizardDialog): root.commitChanges() except Exception, e: traceback.print_exc() + + def validatePath(self): + if self.myPathSelection.usedPathPicker: + self.filenameChanged = True + self.myPathSelection.usedPathPicker = False |