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
22347f61
Kaydet (Commit)
22347f61
authored
Tem 11, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#66815 avoid resetting the selection when values are unchanged
Change-Id: I88534e0b0e8302630193f77d2d85c4029a5a8f52
üst
d55c0c90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
ctrlbox.hxx
include/svtools/ctrlbox.hxx
+2
-6
column.cxx
sw/source/ui/frmdlg/column.cxx
+7
-2
No files found.
include/svtools/ctrlbox.hxx
Dosyayı görüntüle @
22347f61
...
@@ -325,6 +325,7 @@ public:
...
@@ -325,6 +325,7 @@ public:
/** Set the width in Twips */
/** Set the width in Twips */
void
SetWidth
(
long
nWidth
);
void
SetWidth
(
long
nWidth
);
long
GetWidth
()
const
{
return
m_nWidth
;
}
void
SetNone
(
const
XubString
&
sNone
);
void
SetNone
(
const
XubString
&
sNone
);
using
ListBox
::
InsertEntry
;
using
ListBox
::
InsertEntry
;
...
@@ -356,7 +357,7 @@ public:
...
@@ -356,7 +357,7 @@ public:
inline
FieldUnit
GetSourceUnit
()
const
{
return
eSourceUnit
;
}
inline
FieldUnit
GetSourceUnit
()
const
{
return
eSourceUnit
;
}
void
SetColor
(
const
Color
&
rColor
);
void
SetColor
(
const
Color
&
rColor
);
inline
Color
GetColor
(
void
)
const
;
Color
GetColor
()
const
{
return
aColor
;
}
protected
:
protected
:
...
@@ -389,11 +390,6 @@ inline void LineListBox::SetColor( const Color& rColor )
...
@@ -389,11 +390,6 @@ inline void LineListBox::SetColor( const Color& rColor )
UpdateEntries
(
m_nWidth
);
UpdateEntries
(
m_nWidth
);
}
}
inline
Color
LineListBox
::
GetColor
(
void
)
const
{
return
aColor
;
}
const
Color
&
LineListBox
::
GetPaintColor
(
void
)
const
const
Color
&
LineListBox
::
GetPaintColor
(
void
)
const
{
{
return
maPaintCol
;
return
maPaintCol
;
...
...
sw/source/ui/frmdlg/column.cxx
Dosyayı görüntüle @
22347f61
...
@@ -731,8 +731,13 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *, /*pField*/ )
...
@@ -731,8 +731,13 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *, /*pField*/ )
m_pLinePosLbl
->
Enable
(
bEnable
);
m_pLinePosLbl
->
Enable
(
bEnable
);
m_pLinePosDLB
->
Enable
(
bEnable
);
m_pLinePosDLB
->
Enable
(
bEnable
);
m_pLineTypeDLB
->
SetWidth
(
nLineWidth
);
//fdo#66815 if the values are going to be the same, don't update
m_pLineTypeDLB
->
SetColor
(
m_pLineColorDLB
->
GetSelectEntryColor
(
)
);
//them to avoid the listbox selection resetting
if
(
nLineWidth
!=
m_pLineTypeDLB
->
GetWidth
())
m_pLineTypeDLB
->
SetWidth
(
nLineWidth
);
Color
aColor
(
m_pLineColorDLB
->
GetSelectEntryColor
());
if
(
aColor
!=
m_pLineTypeDLB
->
GetColor
())
m_pLineTypeDLB
->
SetColor
(
aColor
);
}
}
else
else
{
{
...
...
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