Kaydet (Commit) a3727ad6 authored tarafından Caolán McNamara's avatar Caolán McNamara

wrong comparison in letter wizard

the file name widget is empty when it shouldn't be.
the other wizards get this right

Change-Id: Icdb629e676a73fcf8d8be4352818abbef455bbaf
üst 622988dd
...@@ -123,7 +123,7 @@ class LetterWizardDialogImpl(LetterWizardDialog): ...@@ -123,7 +123,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.myConfig.cp_PrivateLetter.cp_Salutation = \ self.myConfig.cp_PrivateLetter.cp_Salutation = \
self.resources.SalutationLabels[2] self.resources.SalutationLabels[2]
if self.myPathSelection.xSaveTextBox.Text.lower(): if self.myPathSelection.xSaveTextBox.Text.lower() == "":
self.myPathSelection.initializePath() self.myPathSelection.initializePath()
xContainerWindow = self.myLetterDoc.xFrame.ContainerWindow xContainerWindow = self.myLetterDoc.xFrame.ContainerWindow
...@@ -256,7 +256,7 @@ class LetterWizardDialogImpl(LetterWizardDialog): ...@@ -256,7 +256,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.lstBusinessStyleItemChanged() self.lstBusinessStyleItemChanged()
self.enableSenderReceiver() self.enableSenderReceiver()
self.setPossibleFooter(True) self.setPossibleFooter(True)
if self.myPathSelection.xSaveTextBox.Text.lower(): if self.myPathSelection.xSaveTextBox.Text.lower() == "":
self.myPathSelection.initializePath() self.myPathSelection.initializePath()
def optPrivOfficialLetterItemChanged(self): def optPrivOfficialLetterItemChanged(self):
...@@ -273,7 +273,7 @@ class LetterWizardDialogImpl(LetterWizardDialog): ...@@ -273,7 +273,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.disableBusinessPaper() self.disableBusinessPaper()
self.disableSenderReceiver() self.disableSenderReceiver()
self.setPossibleFooter(True) self.setPossibleFooter(True)
if self.myPathSelection.xSaveTextBox.Text.lower(): if self.myPathSelection.xSaveTextBox.Text.lower() == "":
self.myPathSelection.initializePath() self.myPathSelection.initializePath()
self.myLetterDoc.fillSenderWithUserData() self.myLetterDoc.fillSenderWithUserData()
...@@ -291,7 +291,7 @@ class LetterWizardDialogImpl(LetterWizardDialog): ...@@ -291,7 +291,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.disableBusinessPaper() self.disableBusinessPaper()
self.disableSenderReceiver() self.disableSenderReceiver()
self.setPossibleFooter(False) self.setPossibleFooter(False)
if self.myPathSelection.xSaveTextBox.Text.lower(): if self.myPathSelection.xSaveTextBox.Text.lower() == "":
self.myPathSelection.initializePath() self.myPathSelection.initializePath()
def optSenderPlaceholderItemChanged(self): def optSenderPlaceholderItemChanged(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment