summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-11 13:00:25 +0100
committerEike Rathke <erack@redhat.com>2011-11-11 13:00:25 +0100
commita1582914e1150efe1664204b53fdcbaf9b713652 (patch)
treefbd27a625c460bf1e4fabd393caf999651556f20
parent0aff5fa1f53a3172463663c2546793e84ea2492f (diff)
Fixed the wrong keyboard selection behavior in reference mode.
This one is pretty bad, especially for those who like to select ranges using keyboard. Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/ui/view/tabview2.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index d755e5415..db9a8b746 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -426,6 +426,8 @@ void ScTabView::GetAreaMoveEndPosition(SCsCOL nMovX, SCsROW nMovY, ScFollowMode
{
nNewX = aViewData.GetRefEndX();
nNewY = aViewData.GetRefEndY();
+ nCurX = aViewData.GetRefStartX();
+ nCurY = aViewData.GetRefStartY();
}
else if (IsBlockMode())
{