summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-03-15 20:10:12 +0000
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-16 16:24:52 -0400
commitc39e96d984b5907f8e0c0247828c8e35f2e9ce72 (patch)
treec5e788ce7b0c1ae846694389b922b2eaaf65542a
parent76f3a63432e70d017760a2087652a1abc9b126d3 (diff)
fix to update inputbar when setting a range for a formula fdo#46809
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 95d2b7fc151c..e461b0b6be42 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1719,7 +1719,7 @@ void ScInputHandler::UpdateActiveView()
else
pTableView = NULL;
- if (pInputWin && pInputWin->IsInputActive())
+ if (pInputWin && eMode == SC_INPUT_TOP )
pTopView = pInputWin->GetEditView();
else
pTopView = NULL;