mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support copy of property filters to linked views
* Copy and overwrite property filters when linked When linking property filters between different cases, the property filter settings are copied and the property filter is evaluated per case. The previous implementation worked only for a single case. * Move field to private
This commit is contained in:
@@ -1836,7 +1836,7 @@ void RimEclipseView::calculateCompletionTypeAndRedrawIfRequired()
|
||||
isDependingOnCompletionType = true;
|
||||
}
|
||||
|
||||
for ( const auto& propFilter : m_propertyFilterCollection()->propertyFilters )
|
||||
for ( const auto& propFilter : m_propertyFilterCollection()->propertyFilters() )
|
||||
{
|
||||
if ( propFilter->isActive() &&
|
||||
propFilter->resultDefinition()->resultVariable() == RiaResultNames::completionTypeResultName() )
|
||||
@@ -1859,7 +1859,7 @@ void RimEclipseView::calculateCompletionTypeAndRedrawIfRequired()
|
||||
}
|
||||
}
|
||||
|
||||
for ( const auto& propFilter : m_propertyFilterCollection()->propertyFilters )
|
||||
for ( const auto& propFilter : m_propertyFilterCollection()->propertyFilters() )
|
||||
{
|
||||
if ( propFilter->isActive() &&
|
||||
propFilter->resultDefinition()->resultVariable() == RiaResultNames::completionTypeResultName() )
|
||||
|
||||
Reference in New Issue
Block a user