diff options
Diffstat (limited to 'wizards/com')
-rw-r--r-- | wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py index 3c82a5681473..04767c90e513 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py @@ -449,7 +449,7 @@ class FaxWizardDialogImpl(FaxWizardDialog): def lstBusinessStyleItemChanged(self): selectedItemPos = self.lstBusinessStyle.SelectedItemPos #avoid to load the same item again - if FaxWizardDialogImpl.lstBusinessStylePos is not selectedItemPos: + if FaxWizardDialogImpl.lstBusinessStylePos != selectedItemPos: FaxWizardDialogImpl.lstBusinessStylePos = selectedItemPos TextDocument.xTextDocument = self.myFaxDoc.loadAsPreview( self.BusinessFiles.values()[selectedItemPos], False) @@ -474,7 +474,7 @@ class FaxWizardDialogImpl(FaxWizardDialog): def lstPrivateStyleItemChanged(self): selectedItemPos = self.lstPrivateStyle.SelectedItemPos #avoid to load the same item again - if FaxWizardDialogImpl.lstPrivateStylePos is not selectedItemPos: + if FaxWizardDialogImpl.lstPrivateStylePos != selectedItemPos: FaxWizardDialogImpl.lstPrivateStylePos = selectedItemPos TextDocument.xTextDocument = self.myFaxDoc.loadAsPreview( self.PrivateFiles.values()[selectedItemPos], False) |