diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 5745f8173a..5c58a6d99f 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -414,15 +414,6 @@ void GuiWorkArea::generateSyntheticMouseEvent() void GuiWorkArea::keyPressEvent(QKeyEvent * e) { - // do nothing if there are other events - // (the auto repeated events come too fast) - if (e->isAutoRepeat() && QCoreApplication::hasPendingEvents()) { - LYXERR(Debug::KEY) - << BOOST_CURRENT_FUNCTION << endl - << "key ignored" << endl; - e->ignore(); - return; - } LYXERR(Debug::KEY) << BOOST_CURRENT_FUNCTION << " count=" << e->count()