mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fix buffer-next/previous when called with Ctrl-Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22621 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1fe3f59886
commit
33b1ab9a9a
@ -514,7 +514,8 @@ bool GuiWorkArea::event(QEvent * e)
|
||||
// which are otherwise reserved to focus switching between controls
|
||||
// within a dialog.
|
||||
QKeyEvent * ke = static_cast<QKeyEvent*>(e);
|
||||
if (ke->key() != Qt::Key_Tab && ke->key() != Qt::Key_Backtab)
|
||||
if ((ke->key() != Qt::Key_Tab && ke->key() != Qt::Key_Backtab)
|
||||
|| ke->modifiers() & Qt::ControlModifier)
|
||||
return QAbstractScrollArea::event(e);
|
||||
keyPressEvent(ke);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user