diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 005b5a8002bfc29ffa56ba6a35e0bf1ef32ae490..b6b7408f16cd5476843e62d138178722c98793dd 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -850,7 +850,7 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e) e->accept(); return; } - } else if (e == QKeySequence::Delete) { + } else if (e == QKeySequence::Delete || e->key() == Qt::Key_Backspace) { if (!ro) { d->removeBlockSelection(); e->accept();