revert buggy patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-05-24 17:17:35 +00:00
parent d2fb80eec7
commit 66e5f1bf39

View File

@ -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()