Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b8c3e47f
Kaydet (Commit)
b8c3e47f
authored
Eki 21, 2012
tarafından
Xisco Fauli
Kaydeden (comit)
xisco
Eki 22, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pyfax: Fix avoid to load the same template when it's already selected
Change-Id: If757247b527b92e5fed9b34d5608c37fe2d6fe04
üst
c9b591be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FaxWizardDialogImpl.py
wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
+2
-2
No files found.
wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
Dosyayı görüntüle @
b8c3e47f
...
@@ -449,7 +449,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
...
@@ -449,7 +449,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
def
lstBusinessStyleItemChanged
(
self
):
def
lstBusinessStyleItemChanged
(
self
):
selectedItemPos
=
self
.
lstBusinessStyle
.
SelectedItemPos
selectedItemPos
=
self
.
lstBusinessStyle
.
SelectedItemPos
#avoid to load the same item again
#avoid to load the same item again
if
FaxWizardDialogImpl
.
lstBusinessStylePos
is
not
selectedItemPos
:
if
FaxWizardDialogImpl
.
lstBusinessStylePos
!=
selectedItemPos
:
FaxWizardDialogImpl
.
lstBusinessStylePos
=
selectedItemPos
FaxWizardDialogImpl
.
lstBusinessStylePos
=
selectedItemPos
TextDocument
.
xTextDocument
=
self
.
myFaxDoc
.
loadAsPreview
(
TextDocument
.
xTextDocument
=
self
.
myFaxDoc
.
loadAsPreview
(
self
.
BusinessFiles
.
values
()[
selectedItemPos
],
False
)
self
.
BusinessFiles
.
values
()[
selectedItemPos
],
False
)
...
@@ -474,7 +474,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
...
@@ -474,7 +474,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
def
lstPrivateStyleItemChanged
(
self
):
def
lstPrivateStyleItemChanged
(
self
):
selectedItemPos
=
self
.
lstPrivateStyle
.
SelectedItemPos
selectedItemPos
=
self
.
lstPrivateStyle
.
SelectedItemPos
#avoid to load the same item again
#avoid to load the same item again
if
FaxWizardDialogImpl
.
lstPrivateStylePos
is
not
selectedItemPos
:
if
FaxWizardDialogImpl
.
lstPrivateStylePos
!=
selectedItemPos
:
FaxWizardDialogImpl
.
lstPrivateStylePos
=
selectedItemPos
FaxWizardDialogImpl
.
lstPrivateStylePos
=
selectedItemPos
TextDocument
.
xTextDocument
=
self
.
myFaxDoc
.
loadAsPreview
(
TextDocument
.
xTextDocument
=
self
.
myFaxDoc
.
loadAsPreview
(
self
.
PrivateFiles
.
values
()[
selectedItemPos
],
False
)
self
.
PrivateFiles
.
values
()[
selectedItemPos
],
False
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment