mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5837 Well Measurements : Create new well measurement curves
This commit is contained in:
@@ -260,7 +260,7 @@ QList<caf::PdmOptionItemInfo>
|
||||
m_wellPath->firstAncestorOrThisOfTypeAsserted( wellPathCollection );
|
||||
}
|
||||
|
||||
std::set<QString> names;
|
||||
std::set<QString> kindNames;
|
||||
|
||||
if ( wellPathCollection )
|
||||
{
|
||||
@@ -269,14 +269,16 @@ QList<caf::PdmOptionItemInfo>
|
||||
{
|
||||
if ( measurement->wellName() == m_wellPath->name() )
|
||||
{
|
||||
names.insert( measurement->kind() );
|
||||
kindNames.insert( measurement->kind() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for ( const auto& kind : names )
|
||||
{
|
||||
options.push_back( caf::PdmOptionItemInfo( kind, kind ) );
|
||||
}
|
||||
options.push_back( caf::PdmOptionItemInfo( "None", "None" ) );
|
||||
|
||||
for ( const auto& kind : kindNames )
|
||||
{
|
||||
options.push_back( caf::PdmOptionItemInfo( kind, kind ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user