summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-12 15:44:02 +0100
committerEike Rathke <erack@redhat.com>2016-11-12 15:47:57 +0100
commitd38459355e3e845ad8db3c515536267923afe3ec (patch)
tree23453128e06619aef2f93b2b33f96b3504353502
parent96175a4bc6687c3adc31b9e0246fe49db2b7675e (diff)
accidentally kept always scroll test enabled.. tdf#46200 follow-up
When ironing out the nitpicks and committing 453de3473cf6f383c71466a1ed15e28b844ed7e5 the stupid reviewer forgot to revert the bScrollLock=true so now the scrollock mode was always on. Change-Id: I16b00266044a9ec9c839ad05e688801a7f3c7158
-rw-r--r--sc/source/ui/view/cellsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx
index 881593ee9019..5932a7dba441 100644
--- a/sc/source/ui/view/cellsh4.cxx
+++ b/sc/source/ui/view/cellsh4.cxx
@@ -127,7 +127,7 @@ void ScCellShell::ExecuteCursor( SfxRequest& rReq )
// If ScrollLock key is active, cell cursor stays on the current cell while
// scrolling the grid.
- bool bScrollLock = true;
+ bool bScrollLock = false;
KeyIndicatorState eState = GetFrameWin()->GetIndicatorState();
if (eState & KeyIndicatorState::SCROLLLOCK)
bScrollLock = true;