diff --git a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp index 89eef133b8..0f03e8da69 100644 --- a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp +++ b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp @@ -893,9 +893,9 @@ bool RimEclipseCase::openReserviorCase() { std::vector gridColls; descendantsIncludingThisOfType(gridColls); - if (!gridColls.empty()) + for (RimGridCollection* gridCollection : gridColls) { - gridColls.front()->syncFromMainGrid(); + gridCollection->syncFromMainGrid(); } }