summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-09 05:03:21 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-09 06:33:18 +0200
commit2741675caddb927653ec914f46025b3f6ab0d439 (patch)
tree26c26b5406956f9d6b318dbed08de329a8d7022e /sc/source
parent1b8f33153b98251e28da4d2b6e16ddd0380f8c56 (diff)
only show two entries for between and not between
Change-Id: I8cf41941d50f7fb868868f17d6f25206ae53c76f
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index fc2e733c8059..211c3bb163ee 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -296,7 +296,8 @@ void ScConditionFrmtEntry::SetActive()
{
maLbCondType.Show();
maEdVal1.Show();
- maEdVal2.Show();
+ if(maLbCondType.GetSelectEntryPos() == 6 || maLbCondType.GetSelectEntryPos() == 7)
+ maEdVal2.Show();
maFtStyle.Show();
maLbStyle.Show();
maWdPreview.Show();