mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Detaching all curves before the plot is deleted. Qwt needed it.
This commit is contained in:
@@ -177,3 +177,14 @@ void RimWellLogPlotTrace::recreateViewer()
|
||||
curves[cIdx]->setPlot(this->m_viewer);
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlotTrace::detachAllCurves()
|
||||
{
|
||||
for (size_t cIdx = 0; cIdx < curves.size(); ++cIdx)
|
||||
{
|
||||
curves[cIdx]->detachCurve();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user