SearchResults dialog: Use also AlignToCursor when setting cursor.

Change-Id: I4c802b5164bc0f0dc11da80c2225f9fc274e227c
This commit is contained in:
Matúš Kukan
2013-12-07 17:55:52 +01:00
parent dc22a2aa1b
commit d45bc3429c

View File

@@ -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;
}