mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8982 Allow mouse wheel zoom for a single sub plot
This commit is contained in:
parent
c7cf6d19f8
commit
33f0831de5
@ -198,6 +198,9 @@ void RimSummaryMultiPlot::insertPlot( RimPlot* plot, size_t index )
|
||||
sumPlot->curvesChanged.connect( this, &RimSummaryMultiPlot::onSubPlotChanged );
|
||||
RimMultiPlot::insertPlot( plot, index );
|
||||
}
|
||||
|
||||
if ( summaryPlots().size() == 1 ) m_disableWheelZoom = false;
|
||||
if ( summaryPlots().size() == 2 ) m_disableWheelZoom = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user