mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix bug 4351 at least on Windows and X11.
http://bugzilla.lyx.org/show_bug.cgi?id=4351 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22596 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0caadfe9d1
commit
5a2231d17b
@ -587,6 +587,10 @@ bool GuiView::event(QEvent * e)
|
||||
// Allow processing of shortcuts that are allowed even when no Buffer
|
||||
// is viewed.
|
||||
QKeyEvent * ke = static_cast<QKeyEvent*>(e);
|
||||
if (ke->modifiers() & Qt::AltModifier)
|
||||
// Let Qt handle menu access.
|
||||
return QMainWindow::event(e);
|
||||
|
||||
theLyXFunc().setLyXView(this);
|
||||
KeySymbol sym;
|
||||
setKeySymbol(&sym, ke);
|
||||
|
Loading…
Reference in New Issue
Block a user