mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
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/trunk@27744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c52ffc6fa
commit
9c9cdd3912
@ -803,9 +803,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