mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
Fixed simulation well pipe visibility error introduced in 707e8c68ab
This commit is contained in:
parent
b9318376cc
commit
179f0c906b
@ -1108,10 +1108,9 @@ void RimEclipseView::syncronizeWellsWithResults()
|
||||
{
|
||||
well = new RimEclipseWell;
|
||||
well->name = wellResults[wIdx]->m_wellName;
|
||||
|
||||
}
|
||||
newWells.push_back(well);
|
||||
well->setWellIndex(wIdx);
|
||||
|
||||
well->setWellResults(wellResults[wIdx].p());
|
||||
}
|
||||
|
||||
@ -1140,6 +1139,13 @@ void RimEclipseView::syncronizeWellsWithResults()
|
||||
}
|
||||
|
||||
this->wellCollection()->sortWellsByName();
|
||||
|
||||
for (size_t wIdx = 0; wIdx < this->wellCollection()->wells().size(); ++wIdx)
|
||||
{
|
||||
this->wellCollection()->wells()[wIdx]->setWellIndex(wIdx);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user