mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
branch: Fix bug 5507: Full screen hangs LyX when no file is opened
http://bugzilla.lyx.org/show_bug.cgi?id=5507 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27745 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1f524b2bf3
commit
703df4dc45
@ -794,9 +794,10 @@ bool GuiView::event(QEvent * e)
|
||||
// Alt-P and Alt-M. Right now there is a hack in
|
||||
// GuiWorkArea::processKeySym() that hides again the menubar for
|
||||
// those cases.
|
||||
if (ke->modifiers() & Qt::AltModifier && ke->key() != Qt::Key_Alt)
|
||||
if (ke->modifiers() & Qt::AltModifier && ke->key() != Qt::Key_Alt) {
|
||||
menuBar()->show();
|
||||
return QMainWindow::event(e);
|
||||
return QMainWindow::event(e);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user