Fix #7598, do not buffer movement keys.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-05-29 14:49:58 +00:00
parent 69ab1306a8
commit 325e2575e3

View File

@ -1018,6 +1018,10 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * ev)
switch (ev->key()) {
case Qt::Key_PageDown:
case Qt::Key_PageUp:
case Qt::Key_Left:
case Qt::Key_Right:
case Qt::Key_Up:
case Qt::Key_Down:
LYXERR(Debug::KEY, "system is busy: scroll key event ignored");
ev->ignore();
return;