diff options
author | ayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org> | 2020-01-05 19:39:57 +0300 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2020-02-14 22:58:36 +0100 |
commit | 8705ca0c8a8f87fc4880922064f1f84cac1ea42c (patch) | |
tree | ab49456505f28e042b6d09775be2373335087fff /sc/source/ui/app | |
parent | e917918dfb42ef9f95768280918bc42c628de0be (diff) |
tdf#124443: show arguments' tooltip above if in Formula Bar's Input Line
Change-Id: I33d52af9c2b1ac3f5cfe279ff17d487c70b8cf32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86226
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index acf924de9397..b0131488e148 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1156,7 +1156,14 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText ) aBuf.append( " : " ); aBuf.append( ppFDesc->getParameterDescription(nActive-1) ); aNew = aBuf.makeStringAndClear(); - ShowTipBelow( aNew ); + if (eMode != SC_INPUT_TOP) + { + ShowTipBelow( aNew ); + } + else + { + ShowTip(aNew); + } bFound = true; } } |