summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-10 03:39:39 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-10 04:47:09 +0200
commitc20486fbffaa2d5ff20dad668c0f28b2c5f20e39 (patch)
tree662b51496ecbdd5ec4d2b0d776c633aff4a099b5 /sc
parentad7d278372a05fc2c64f80d80c3638c367a78cde (diff)
prevent flickering when clicking at an entry
Change-Id: I87786c70348d40d4e0a3012425f5ead2a82920c6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 041faec0b1b9..f23bf21890a0 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -301,6 +301,9 @@ IMPL_LINK_NOARG( ScCondFormatList, RemoveBtnHdl )
IMPL_LINK( ScCondFormatList, EntrySelectHdl, ScCondFrmtEntry*, pEntry )
{
+ if(pEntry->IsSelected())
+ return 0;
+
for(EntryContainer::iterator itr = maEntries.begin(); itr != maEntries.end(); ++itr)
{
itr->SetInactive();