summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/letter
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2012-10-15 20:14:59 +0200
committerXisco Fauli <anistenis@gmail.com>2012-10-15 23:58:15 +0200
commit299b38e93306f863d24f33aa03bd3af097e216ef (patch)
tree14f0a2c6fd32b53a4ef054e70d59f07e6f76f77d /wizards/com/sun/star/wizards/letter
parent201788d30508b7b9e04bdbd82ac10998fa8bd570 (diff)
pyletter: Add missed listener
Change-Id: I10cb982ea00b3cc04dde68d55857577657ebd380
Diffstat (limited to 'wizards/com/sun/star/wizards/letter')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py8
1 files changed, 6 insertions, 2 deletions
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