#5125 Show well measurements based on selection in RimWellMeasuremenInView.

This commit is contained in:
Kristian Bendiksen
2019-12-03 10:22:51 +01:00
parent 3583e2ee10
commit 0e4f9fe114
3 changed files with 10 additions and 1 deletions

View File

@@ -244,3 +244,11 @@ bool RimWellMeasurementInView::hasCategoryResult() const
{
return !RimWellMeasurement::kindHasValue( measurementKind() );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellMeasurementInView::isWellChecked( const QString& wellName ) const
{
return std::find( m_wells.v().begin(), m_wells.v().end(), wellName ) != m_wells.v().end();
}