diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-24 16:11:46 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-26 11:56:16 +0000 |
commit | b8b744a4ea46a4e68383f9283e00f4de5fa8a1cf (patch) | |
tree | 7a2f804b2fb0501e5fe71e999e7a181d729428ce | |
parent | cba6653d460cc3800d1bd84ca9d39279b928e473 (diff) |
Resolves: tdf#104552 table properties dialog drops previous border color
Change-Id: Ie39ea17fe56cc88efc65f6916aaeb1bd1b77c51f
(cherry picked from commit e2eaaa8a578fff5770a99e3f8ee2a7c95c460891)
Reviewed-on: https://gerrit.libreoffice.org/33502
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | cui/source/tabpages/border.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index f989a7ce7af6..9a6e7d67d45b 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -542,6 +542,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet* rSet ) // set the current style and color (caches style in control even if nothing is selected) SelStyleHdl_Impl(*m_pLbLineStyle); + SelColHdl_Impl(*m_pLbLineColor); } bool bEnable = m_pWndShadows->GetSelectItemId() > 1 ; @@ -832,6 +833,7 @@ IMPL_LINK_NOARG(SvxBorderTabPage, SelPreHdl_Impl, ValueSet*, void) // set current style to all previously selected lines SelStyleHdl_Impl(*m_pLbLineStyle); + SelColHdl_Impl(*m_pLbLineColor); } // Presets ValueSet does not show a selection (used as push buttons). |