mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
* GuiWorkArea::contextMenuEvent(): accept the event otherwise it is passed down to GuiView after pressing the Esc key.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22310 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fc2658eff0
commit
6b0a396d74
@ -535,7 +535,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e)
|
||||
// FIXME: correct vertical position of the menu WRT screen espace.
|
||||
//pos.ry() += menu->height();
|
||||
menu->exec(pos);
|
||||
QAbstractScrollArea::contextMenuEvent(e);
|
||||
e->accept();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user