* 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:
Abdelrazak Younes 2007-12-26 12:48:36 +00:00
parent fc2658eff0
commit 6b0a396d74

View File

@ -535,7 +535,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e)
// FIXME: correct vertical position of the menu WRT screen espace. // FIXME: correct vertical position of the menu WRT screen espace.
//pos.ry() += menu->height(); //pos.ry() += menu->height();
menu->exec(pos); menu->exec(pos);
QAbstractScrollArea::contextMenuEvent(e); e->accept();
} }