diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-03-28 19:19:04 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-03-28 19:55:31 +0100 |
commit | 73779a5ba01d513d1eee498b77ef985bd1c9f1fc (patch) | |
tree | f0a4583ec978c6f18fdc820909fca58a895bb5ef | |
parent | c276ca28262c4dc690849d89aa246a308dba1b25 (diff) |
show warning also for existing entries, related tdf#42897
Change-Id: I80e215387852a1aa4ca0165ba62f307389abee32
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index ce184d691f43..a7ea722cd0f4 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -215,12 +215,15 @@ ScConditionFrmtEntry::ScConditionFrmtEntry( vcl::Window* pParent, ScDocument* pD maEdVal1.Show(); maEdVal1.SetText(pFormatEntry->GetExpression(maPos, 0)); maEdVal2.Hide(); + OnEdChanged(&maEdVal1); break; case 2: maEdVal1.Show(); maEdVal1.SetText(pFormatEntry->GetExpression(maPos, 0)); + OnEdChanged(&maEdVal1); maEdVal2.Show(); maEdVal2.SetText(pFormatEntry->GetExpression(maPos, 1)); + OnEdChanged(&maEdVal2); break; } } |