From 49227f6a721294e9d7bd2515e932135980323f15 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 18 Nov 2010 15:20:16 +0000 Subject: [PATCH] 0021061: [CEA 433] Problem with "fit Area" in plot2D Additional fix --- src/Plot2d/Plot2d_ViewFrame.cxx | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.39.2