Commit 86319398 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

TextEditor: Remove duplicate condition

Change-Id: I606276670bb78f5e705bbe98cd4c7e5f59a7723e
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 995cb365
......@@ -1448,8 +1448,6 @@ bool BaseTextEditorWidget::cursorMoveKeyEvent(QKeyEvent *e)
op = QTextCursor::Down;
} else if (e == QKeySequence::MoveToPreviousLine) {
op = QTextCursor::Up;
} else if (e == QKeySequence::MoveToPreviousLine) {
op = QTextCursor::Up;
} else if (e == QKeySequence::MoveToStartOfLine) {
op = QTextCursor::StartOfLine;
} else if (e == QKeySequence::MoveToEndOfLine) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment