From: Guillaume Munch Date: Wed, 1 Jun 2016 17:27:36 +0000 (+0100) Subject: Fix bug #9218 X-Git-Tag: 2.2.1~161 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=210f97c67b0ab48660c83aa61cdc8c299b874e9e;p=features.git Fix bug #9218 This makes Qt 5.4 as usable as Qt 5.5.1 in my experience. Otherwise, fix again INSTALL. --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 2bd7c8e5b1..a18294e5af 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -733,7 +733,7 @@ bool GuiWorkArea::event(QEvent * e) || (ke->key() == Qt::Key_Backtab && ( ke->modifiers() == Qt::ShiftModifier || ke->modifiers() == Qt::NoModifier))) { - keyPressEvent(ke); + e->accept(); return true; } return QAbstractScrollArea::event(e);