mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#555) Fixed issue for cases not part of a grid case group
This commit is contained in:
parent
5619e14cbe
commit
718f6f9687
@ -216,7 +216,7 @@ bool RicCloseCaseFeature::userConfirmedGridCaseGroupChange(const std::vector<Rim
|
|||||||
RimIdenticalGridCaseGroup* gridCaseGroup = NULL;
|
RimIdenticalGridCaseGroup* gridCaseGroup = NULL;
|
||||||
casesToBeDeleted[i]->firstAnchestorOrThisOfType(gridCaseGroup);
|
casesToBeDeleted[i]->firstAnchestorOrThisOfType(gridCaseGroup);
|
||||||
|
|
||||||
if (hasAnyStatisticsResults(gridCaseGroup))
|
if (gridCaseGroup && hasAnyStatisticsResults(gridCaseGroup))
|
||||||
{
|
{
|
||||||
gridCaseGroups.push_back(gridCaseGroup);
|
gridCaseGroups.push_back(gridCaseGroup);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user