mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 00:50:15 -05:00
Rename to summaryEnsembles()
This commit is contained in:
1 parent
76b3b3009d
commit
5126face72
13 files changed
+47
-49
No files matched your search
@@ -255,12 +255,12 @@ auto createOptionsForEnsemble = []() -> QList<caf::PdmOptionItemInfo>
|
||||
{
|
||||
QList<caf::PdmOptionItemInfo> options;
|
||||
|
||||
RimProject* proj = RimProject::current();
|
||||
std::vector<RimSummaryEnsemble*> groups = proj->summaryGroups();
|
||||
RimProject* proj = RimProject::current();
|
||||
std::vector<RimSummaryEnsemble*> ensembles = proj->summaryEnsembles();
|
||||
|
||||
for ( RimSummaryEnsemble* group : groups )
|
||||
for ( RimSummaryEnsemble* ensemble : ensembles )
|
||||
{
|
||||
if ( group->isEnsemble() ) options.push_back( caf::PdmOptionItemInfo( group->name(), group ) );
|
||||
if ( ensemble->isEnsemble() ) options.push_back( caf::PdmOptionItemInfo( ensemble->name(), ensemble ) );
|
||||
}
|
||||
|
||||
options.push_front( caf::PdmOptionItemInfo( "None", nullptr ) );
|
||||
|
||||
Reference in new issue
Block a user