mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#991 Statistics: Set case before creating statistics object
This commit is contained in:
1 parent
1b1831e5e1
commit
1012d55a50
1 file changed
+2
-1
@@ -81,10 +81,11 @@ RimIdenticalGridCaseGroup* RimEclipseCaseCollection::createIdenticalCaseGroupFro
|
||||
assert(RiaApplication::instance()->project());
|
||||
RiaApplication::instance()->project()->assignIdToCaseGroup(group);
|
||||
|
||||
group->addCase(mainCase);
|
||||
RimEclipseCase* createdCase = group->createAndAppendStatisticsCase();
|
||||
|
||||
RiaApplication::instance()->project()->assignCaseIdToCase(createdCase);
|
||||
|
||||
group->addCase(mainCase);
|
||||
caseGroups().push_back(group);
|
||||
|
||||
return group;
|
||||
|
||||
Reference in new issue
Block a user