From 210f97c67b0ab48660c83aa61cdc8c299b874e9e Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Wed, 1 Jun 2016 18:27:36 +0100 Subject: [PATCH] Fix bug #9218 This makes Qt 5.4 as usable as Qt 5.5.1 in my experience. Otherwise, fix again INSTALL. --- src/frontends/qt4/GuiWorkArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5