diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-17 22:58:26 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-17 23:57:24 +0100 |
commit | 92a8be9fb4877d43e099c99d067bd3f06397d212 (patch) | |
tree | e31255fa346f753a20e4951ca92d5a5fa2342beb /sc | |
parent | 2f0bc524daf8ed27a8f9fbb2cdb31460d5be077d (diff) |
UI does not update correctly for icon sets, fdo#58308
Change-Id: Iceeab1ea3624fbefa8cb626899262e857b445ac1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/condformatdlg.hxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index 36b8ddb92fdf..3fc161205127 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -1354,9 +1354,13 @@ IMPL_LINK_NOARG( ScIconSetFrmtEntry, IconSetTypeHdl ) Point aPos = maEntries[0].GetPosPixel(); aPos.Y() += maEntries[0].GetSizePixel().Height() * i * 1.2; maEntries[i].SetPosPixel( aPos ); + maEntries[i].Show(); } maEntries.back().SetLastEntry(); + SetHeight(); + static_cast<ScCondFormatList*>(GetParent())->RecalcAll(); + return 0; } diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx index 5541c49977fd..262a9765f106 100644 --- a/sc/source/ui/inc/condformatdlg.hxx +++ b/sc/source/ui/inc/condformatdlg.hxx @@ -78,7 +78,6 @@ private: ScAddress maPos; ScRangeList maRanges; - void RecalcAll(); void DoScroll(long nDiff); public: @@ -86,6 +85,7 @@ public: const ScRangeList& rRanges, const ScAddress& rPos, condformat::dialog::ScCondFormatDialogType eType); ScConditionalFormat* GetConditionalFormat() const; + void RecalcAll(); DECL_LINK( AddBtnHdl, void* ); DECL_LINK( RemoveBtnHdl, void* ); |