Commit ebfcd35a authored by mae's avatar mae

Workaround backspace issue for now

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