diff options
Diffstat (limited to 'sc/source/ui/app/inputhdl.cxx')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 809ba8520e33..e7e7f6041c8a 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -3811,6 +3811,14 @@ bool ScInputHandler::KeyInput( const KeyEvent& rKEvt, bool bStartEdit /* = false if (pActiveViewSh) pActiveViewSh->FindNextUnprot( bShift, true ); + + ScModule* pScMod = SC_MOD(); + const ScInputOptions& rOpt = pScMod->GetInputOptions(); + + if ( (rOpt.GetMoveKeepEdit() && !comphelper::LibreOfficeKit::isActive()) + || (pActiveViewSh->GetMoveKeepEdit() && comphelper::LibreOfficeKit::isActive()) ) + pScMod->SetInputMode( SC_INPUT_TABLE ); + return true; } @@ -3851,6 +3859,12 @@ bool ScInputHandler::KeyInput( const KeyEvent& rKEvt, bool bStartEdit /* = false if (pActiveViewSh) pActiveViewSh->MoveCursorEnter( bShift && !bControl ); + ScModule* pScMod = SC_MOD(); + const ScInputOptions& rOpt = pScMod->GetInputOptions(); + if ( (rOpt.GetMoveKeepEdit() && !comphelper::LibreOfficeKit::isActive()) + || (pActiveViewSh->GetMoveKeepEdit() && comphelper::LibreOfficeKit::isActive()) ) + pScMod->SetInputMode( SC_INPUT_TABLE ); + bUsed = true; } break; |