From: vsr Date: Thu, 18 Nov 2010 15:20:16 +0000 (+0000) Subject: 0021061: [CEA 433] Problem with "fit Area" in plot2D X-Git-Tag: V5_1_5~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49227f6a721294e9d7bd2515e932135980323f15;p=modules%2Fgui.git 0021061: [CEA 433] Problem with "fit Area" in plot2D Additional fix --- diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 7de8c5813..41b94323e 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -1553,6 +1553,7 @@ void Plot2d_ViewFrame::wheelEvent(QWheelEvent* event) myPlot->setAxisScale( QwtPlot::yRight, y2Map.s1(), y2Map.s1() + aScale*(y2Map.s2() - y2Map.s1()) ); } myPlot->replot(); + if ( myPlot->zoomer() ) myPlot->zoomer()->setZoomBase(); myPnt = event->pos(); }