summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-08 21:13:56 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-08 21:24:22 +0000
commitdbc616c0021b86e6365930ba581818fea280d1a8 (patch)
tree1f13610bd949d3b680eccf3af60b62fad612a78f
parent9ef71cffd80294f57063d38fe864c3b481ce6f51 (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>
-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 19e441eade83..b7ee8dd55eb6 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1943,6 +1943,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
( nTab == nOldTab ) &&
( nCol != nOldCol || nRow != nOldRow ) )
{
+ AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP);
SetCursor( nCol, nRow, true );
}
}