#14022 DataFilter: Restore category options for case-level property filters on project load

The case-level RimDataFilterCollection lacked an equivalent of
RimEclipsePropertyFilterCollection::loadAndInitializePropertyFilters, so a
saved FORMATION_NAMES selection had its value preserved on reload but no
category options list to render against. The selection only appeared after
the user toggled the filter, which routes through fieldChangedByUi and
rebuilds the category cache. Add loadAndInitializeFilters and invoke it
from RimEclipseView::onLoadDataAndUpdate, once openReservoirCase has loaded
the grid and active formation names.
This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2026-05-20 18:03:19 +02:00
1 parent 91fed8e48c
commit 37c6892102
3 files changed
+25

No files matched your search

@@ -1256,6 +1256,11 @@ void RimEclipseView::onLoadDataAndUpdate()
m_propertyFilterCollection()->loadAndInitializePropertyFilters();
if ( auto* dataFilters = eclipseCase()->dataFilterCollection() )
{
dataFilters->loadAndInitializeFilters();
}
faultCollection()->synchronizeFaults();
m_wellCollection->scaleWellDisks();