mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8453 Fix crash when changing plot type (QtCharts <-> Qwt).
This commit is contained in:
@@ -310,11 +310,11 @@ void RimEnsembleCurveSet::setParentPlotNoReplot( RiuPlotWidget* plot )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEnsembleCurveSet::detachPlotCurves()
|
||||
void RimEnsembleCurveSet::detachPlotCurves( bool deletePlotCurve )
|
||||
{
|
||||
for ( RimSummaryCurve* curve : m_curves )
|
||||
{
|
||||
curve->detach();
|
||||
curve->detach( deletePlotCurve );
|
||||
}
|
||||
|
||||
if ( m_plotCurveForLegendText )
|
||||
|
||||
Reference in New Issue
Block a user