]> git.lyx.org Git - features.git/commitdiff
enable context menu for the vertical scrollbar.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 15:04:20 +0000 (15:04 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 15:04:20 +0000 (15:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22317 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index f25f2fc4e72b0a6a71ed0734f390d7a9a57f6055..a7bbc897e764904ae855da514f31d05accc59808 100644 (file)
@@ -231,9 +231,6 @@ GuiWorkArea::GuiWorkArea(Buffer & buffer, GuiView & lv)
        QObject::connect(verticalScrollBar(), SIGNAL(actionTriggered(int)),
                this, SLOT(adjustViewWithScrollBar(int)));
 
-       // disable context menu for the scrollbar
-       verticalScrollBar()->setContextMenuPolicy(Qt::NoContextMenu);
-
        // PageStep only depends on the viewport height.
        verticalScrollBar()->setPageStep(viewport()->height());