mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3623 Grid Items : Sync all grid collections from main grid
This commit is contained in:
parent
2143673aa7
commit
83d4f42e91
@ -893,9 +893,9 @@ bool RimEclipseCase::openReserviorCase()
|
||||
{
|
||||
std::vector<RimGridCollection*> gridColls;
|
||||
descendantsIncludingThisOfType(gridColls);
|
||||
if (!gridColls.empty())
|
||||
for (RimGridCollection* gridCollection : gridColls)
|
||||
{
|
||||
gridColls.front()->syncFromMainGrid();
|
||||
gridCollection->syncFromMainGrid();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user