[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Thu Feb 4 14:49:05 UTC 2016


 sc/source/ui/app/inputhdl.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 9fb40eab369857488080d74790b52023f25c7d62
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Feb 4 15:43:22 2016 +0100

    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

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index effb8f6..c50bc28 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)
     {


More information about the Libreoffice-commits mailing list