diff --git a/Code/Mantid/MantidPlot/src/Graph.cpp b/Code/Mantid/MantidPlot/src/Graph.cpp index a36e9a89449c505d046e39a39f8c0d7b42b8bb12..92123c84c1bd6373f78c3468f2461ef7af8adf82 100644 --- a/Code/Mantid/MantidPlot/src/Graph.cpp +++ b/Code/Mantid/MantidPlot/src/Graph.cpp @@ -5360,9 +5360,11 @@ void Graph::enablePanningMagnifier(bool on) delete d_panner; QwtPlotCanvas *cnvs =d_plot->canvas(); //canvas(); - if (on){ + if (on) { cnvs->setCursor(Qt::pointingHandCursor); d_magnifier = new QwtPlotMagnifier(cnvs); + // Disable the mouse button as it causes issues with the context menu + d_magnifier->setMouseButton(Qt::NoButton); d_magnifier->setAxisEnabled(QwtPlot::yRight,false); d_magnifier->setZoomInKey(Qt::Key_Plus, Qt::ShiftModifier);