mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5775 Add ensemble id to RimSummaryCaseCollection.
This commit is contained in:
committed by
Gaute Lindkvist
parent
bc08aa1905
commit
6dd4dabc33
@@ -260,6 +260,12 @@ RimSummaryCaseCollection*
|
||||
RimSummaryCaseCollection* summaryCaseCollection = allocator();
|
||||
if ( !collectionName.isEmpty() ) summaryCaseCollection->setName( collectionName );
|
||||
|
||||
if ( summaryCaseCollection->ensembleId() == -1 )
|
||||
{
|
||||
RimProject* project = RiaApplication::instance()->project();
|
||||
project->assignIdToEnsemble( summaryCaseCollection );
|
||||
}
|
||||
|
||||
for ( RimSummaryCase* summaryCase : summaryCases )
|
||||
{
|
||||
RimSummaryCaseCollection* currentSummaryCaseCollection = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user