]> git.lyx.org Git - features.git/commitdiff
* GuiWorkArea::contextMenuEvent(): accept the event otherwise it is passed down to...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 12:48:36 +0000 (12:48 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 12:48:36 +0000 (12:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22310 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 0f710371837bcf3be36d447195528fe05b9128d5..8e21afa7a67960ee87d6526320ceecd539a3242c 100644 (file)
@@ -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();
 }