mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
#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:
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();
|
||||
|
||||
Reference in new issue
Block a user