mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 10:47:57 +00:00
enable context menu for the vertical scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
02fd454216
commit
c451018f30
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user