mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix #7438, patch from Stephan.
(Sorry for not waiting for you, I wanted to enter freeze ASAP.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3fd236f0cc
commit
16cfd2ba12
@ -1015,9 +1015,13 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * ev)
|
||||
// it looks like this is only needed on X11
|
||||
#ifdef Q_WS_X11
|
||||
if (qApp->hasPendingEvents() && ev->isAutoRepeat()) {
|
||||
LYXERR(Debug::KEY, "system is busy: keyPress event ignored");
|
||||
ev->ignore();
|
||||
return;
|
||||
switch (ev->key()) {
|
||||
case Qt::Key_PageDown:
|
||||
case Qt::Key_PageUp:
|
||||
LYXERR(Debug::KEY, "system is busy: scroll key event ignored");
|
||||
ev->ignore();
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user