Commit ebfcd35a authored by mae's avatar mae
Browse files

Workaround backspace issue for now

parent f48f23c8
...@@ -1034,7 +1034,10 @@ bool BaseTextEditor::event(QEvent *e) ...@@ -1034,7 +1034,10 @@ bool BaseTextEditor::event(QEvent *e)
d->m_contentsChanged = false; d->m_contentsChanged = false;
switch (e->type()) { switch (e->type()) {
case QEvent::ShortcutOverride: case QEvent::ShortcutOverride:
e->ignore(); // we are a really nice citizen if (static_cast<QKeyEvent*>(e)->key() == Qt::Key_Backspace)
e->ignore(); // we are a really nice citizen
return true; return true;
default: default:
break; break;
Supports Markdown
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