mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RFT segment plot adjustments (#9912)
* Delete RFT plot when associated case is deleted * Rename * Hide track/curves with no data
This commit is contained in:
@@ -217,7 +217,7 @@ void RimWellAllocationPlot::updateFromWell()
|
||||
{
|
||||
for ( auto c : t->curves() )
|
||||
{
|
||||
if ( !c->isCurveVisible() )
|
||||
if ( !c->isChecked() )
|
||||
{
|
||||
uncheckedCurveNames.insert( c->curveName() );
|
||||
}
|
||||
@@ -462,7 +462,7 @@ void RimWellAllocationPlot::addStackedCurve( const QString& tracerNa
|
||||
plotTrack->addCurve( curve );
|
||||
|
||||
curve->loadDataAndUpdate( true );
|
||||
curve->setCurveVisibility( showCurve );
|
||||
curve->setCheckState( showCurve );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user