#5389 Delete empty measurement curves after deleting or changing measurements.

This commit is contained in:
Gaute Lindkvist
2020-02-07 13:00:48 +01:00
parent 85bf09cefe
commit 2bb93ef872
11 changed files with 72 additions and 22 deletions

View File

@@ -1026,7 +1026,7 @@ void RimWellLogTrack::insertCurve( RimWellLogCurve* curve, size_t index )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::takeOutCurve( RimWellLogCurve* curve )
void RimWellLogTrack::removeCurve( RimWellLogCurve* curve )
{
size_t index = m_curves.index( curve );
if ( index < m_curves.size() )
@@ -2584,3 +2584,11 @@ void RimWellLogTrack::removeRegionAnnotations()
m_annotationTool->detachAllAnnotations();
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::doUpdateLayout()
{
m_plotWidget->scheduleReplot();
}