Commit 82153bf5 authored by mae's avatar mae
Browse files

fixed deletion of vertical block selection with Backspace key

parent cd21181f
...@@ -850,7 +850,7 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e) ...@@ -850,7 +850,7 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e)
e->accept(); e->accept();
return; return;
} }
} else if (e == QKeySequence::Delete) { } else if (e == QKeySequence::Delete || e->key() == Qt::Key_Backspace) {
if (!ro) { if (!ro) {
d->removeBlockSelection(); d->removeBlockSelection();
e->accept(); e->accept();
......
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