summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-08 21:13:56 +0200
committerEike Rathke <erack@redhat.com>2017-04-18 21:58:39 +0200
commit7c1314bb1e63f9c3460175a8ee30422ebf3c4d37 (patch)
treea7c31c39c541be56eec5fc4c43d5c21db220f03f
parent615942e388c6dfa48d1edbf645fe6b0dd67cfa40 (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>
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index ee8f6f7e854a..a1013b2ba896 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1932,6 +1932,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
( nTab == nOldTab ) &&
( nCol != nOldCol || nRow != nOldRow ) )
{
+ AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP);
SetCursor( nCol, nRow, true );
}
}