diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-04-08 21:13:56 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-04-19 16:56:52 +0200 |
commit | 9bc76a7e0903c9892da719469470508d6b142689 (patch) | |
tree | 13a665bd3fed2f496a02417953faee80b12814e8 /sc | |
parent | 853fc3254ecd81c39de59f6411aa1172aa0606f9 (diff) |
actually show the newly selected cell, tdf#106194
Change-Id: I0c9f839cbe55f2670602567e61dc4aba77fbef61
Reviewed-on: https://gerrit.libreoffice.org/36303
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit dbc616c0021b86e6365930ba581818fea280d1a8)
Reviewed-on: https://gerrit.libreoffice.org/36386
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 7c1314bb1e63f9c3460175a8ee30422ebf3c4d37)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 4b3e0334edda..691ba520dc84 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1936,6 +1936,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, ( nTab == nOldTab ) && ( nCol != nOldCol || nRow != nOldRow ) ) { + AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP); SetCursor( nCol, nRow, true ); } } |