summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-04 15:43:22 +0100
committerEike Rathke <erack@redhat.com>2016-02-04 15:48:20 +0100
commit9fb40eab369857488080d74790b52023f25c7d62 (patch)
treeae46ed4337e617f2ee64bdae6987cf25280a4973
parentb0e27cf54534670f6425b2beb4245a4708b1c10e (diff)
show parameter tip help below instead of above, tdf#95878 follow-up
Showing it above obstructs the column headers when entering a formula in the first two rows and mouse selection on column headers is also not possible. Change-Id: I8261f234fe7ed8f329ea7a131eb675e86e1d7988
-rw-r--r--sc/source/ui/app/inputhdl.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index effb8f631c3b..c50bc28bd667 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1019,13 +1019,13 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText )
aBuf.append( " : " );
aBuf.append( ppFDesc->getParameterDescription(nActive-1) );
aNew = aBuf.makeStringAndClear();
- ShowTip( aNew );
+ ShowTipBelow( aNew );
bFound = true;
}
}
else
{
- ShowTip( aNew );
+ ShowTipBelow( aNew );
bFound = true;
}
}
@@ -1066,7 +1066,10 @@ void ScInputHandler::ShowTipCursor()
void ScInputHandler::ShowTip( const OUString& rText )
{
// aManualTip needs to be set afterwards from outside
+
HideTip();
+ HideTipBelow();
+
EditView* pActiveView = pTopView ? pTopView : pTableView;
if (pActiveView)
{