From 66e5f1bf39b2ff6dbd8e14a5a33a95cf369e7ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Thu, 24 May 2007 17:17:35 +0000 Subject: [PATCH] revert buggy patch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18495 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 9 --------- 1 file changed, 9 deletions(-) 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()