mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
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:
parent
d2fb80eec7
commit
66e5f1bf39
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user