fixed deletion of vertical block selection with Backspace key

This commit is contained in:
mae
2009-05-29 18:48:18 +02:00
parent cd21181fe0
commit 82153bf5fd

View File

@@ -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();