summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/letter
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-04 11:59:14 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-05-08 09:36:41 +0000
commit9532335dd2c3f2bb9c3761bf8c4c879107f1538d (patch)
tree4aed9fe68e528d807e4438799b7ccb2ab920a2e8 /wizards/com/sun/star/wizards/letter
parent9c54d77fffc9b6fda1af3020c5d1d2212b8e96c2 (diff)
PyWebWizard: Fixing bugs and implementation of mising features.
Properly terminate and dispose the Wizard dialogs. Change-Id: Ia10419d3a7bbeb5ffd7dc1f6a5452eb9df906f63
Diffstat (limited to 'wizards/com/sun/star/wizards/letter')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 8cf7c59fdcf0..1ff5f1cb5da4 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -28,6 +28,7 @@ from ..common.Desktop import Desktop
from ..ui.PathSelection import PathSelection
from ..ui.event.UnoDataAware import UnoDataAware
from ..ui.event.RadioDataAware import RadioDataAware
+from ..ui.event.CommonListener import TerminateListenerProcAdapter
from ..text.TextElement import TextElement
from ..text.TextFieldHandler import TextFieldHandler
from ..document.OfficeDocument import OfficeDocument
@@ -89,7 +90,8 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.nMaxStep = 6
#instatiate The Document Frame for the Preview
- self.myLetterDoc = LetterDocument(xMSF, self)
+ self.terminateListener = TerminateListenerProcAdapter(self)
+ self.myLetterDoc = LetterDocument(xMSF, self.terminateListener)
#create the dialog
self.drawNaviBar()