tab correcten to <don't process generated key events if the system is busy>

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-05-17 08:26:05 +00:00
parent 032d16501d
commit 1137260f55

View File

@ -417,8 +417,9 @@ 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;
LYXERR(Debug::KEY)
<< BOOST_CURRENT_FUNCTION << endl
<< "key ignored" << endl;
e->ignore();
return;
}