summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/table/tablecontroller.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 47ca6dbcd5ad..6921f1d4190c 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1567,15 +1567,19 @@ SvxTableController::TblAction SvxTableController::getKeyboardAction(const KeyEve
if( !bMod1 && bMod2 )
{
- if( (nCode == awt::Key::UP) || (nCode == awt::Key::NUM8) )
+ if(bTextEdit || mbCellSelectionMode)
{
- nAction = TblAction::GotoLeftCell;
- }
- else if( (nCode == awt::Key::DOWN) || (nCode == awt::Key::NUM2) )
- {
- nAction = TblAction::GotoRightCell;
+ if( (nCode == awt::Key::UP) || (nCode == awt::Key::NUM8) )
+ {
+ nAction = TblAction::GotoLeftCell;
+ break;
+ }
+ else if( (nCode == awt::Key::DOWN) || (nCode == awt::Key::NUM2) )
+ {
+ nAction = TblAction::GotoRightCell;
+ break;
+ }
}
- break;
}
bool bTextMove = false;