mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5389 Delete empty measurement curves after deleting or changing measurements.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user