mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 00:50:15 -05:00
On project reload the simulation well disks were not drawn until the user toggled the Simulation Wells visibility. Two load-ordering issues caused this: scaleWellDisks() ran before synchronizeWellsWithResults() had populated the wells list, so it iterated an empty collection. It also bailed out early on the transient m_showWellDisks aggregate (disableIO), which is only synced from the restored per-well states when the property panel is built. Move scaleWellDisks() after synchronizeWellsWithResults(), and sync the visibility checkbox state at the start of scaleWellDisks() so the disks are scaled and marked valid before the first display-model build.