summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index b66e7333332c..edf81eace9f7 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -478,7 +478,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
case KEY_DELETE:
{
if(!rCursor.HasSelection()){
- rCursor.Move(this, nCode == KEY_DELETE ? MoveRight : MoveLeft, false);
+ rCursor.Move(this, MoveRight, false);
if(rCursor.HasComplexSelection()) break;
}
rCursor.Delete();