From 2741675caddb927653ec914f46025b3f6ab0d439 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 9 Oct 2012 05:03:21 +0200 Subject: only show two entries for between and not between Change-Id: I8cf41941d50f7fb868868f17d6f25206ae53c76f --- sc/source/ui/condformat/condformatdlgentry.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc') 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(); -- cgit