diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-07 17:55:52 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-09 09:14:43 +0100 |
commit | d45bc3429c859392aa9fd7932908e50b0716a39c (patch) | |
tree | 37f89b86891a30ce2a4ddca8507bd3959bc33890 | |
parent | dc22a2aa1b2858394ad70806f34d1327936af7a0 (diff) |
SearchResults dialog: Use also AlignToCursor when setting cursor.
Change-Id: I4c802b5164bc0f0dc11da80c2225f9fc274e227c
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index f5cc4393c193..3b27a2a91ea5 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -69,6 +69,7 @@ IMPL_LINK_NOARG( SearchResults, ListSelectHdl ) ScTabViewShell* pScViewShell = ScTabViewShell::GetActiveViewShell(); pScViewShell->SetTabNo(aAddress.Tab()); pScViewShell->SetCursor(aAddress.Col(), aAddress.Row()); + pScViewShell->AlignToCursor(aAddress.Col(), aAddress.Row(), SC_FOLLOW_JUMP); return 0; } |