mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Renamed cell filter field from active to isActive
Removed the special handling of range filters when only exclude filters are active p4#: 22123
This commit is contained in:
@@ -158,7 +158,7 @@ bool RimCellPropertyFilterCollection::hasActiveFilters() const
|
||||
std::list< caf::PdmPointer< RimCellPropertyFilter > >::const_iterator it;
|
||||
for (it = propertyFilters.v().begin(); it != propertyFilters.v().end(); ++it)
|
||||
{
|
||||
if ((*it)->active() && (*it)->resultDefinition->hasResult()) return true;
|
||||
if ((*it)->isActive() && (*it)->resultDefinition->hasResult()) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -174,7 +174,7 @@ bool RimCellPropertyFilterCollection::hasActiveDynamicFilters() const
|
||||
std::list< caf::PdmPointer< RimCellPropertyFilter > >::const_iterator it;
|
||||
for (it = propertyFilters.v().begin(); it != propertyFilters.v().end(); ++it)
|
||||
{
|
||||
if ((*it)->active() && (*it)->resultDefinition->hasDynamicResult()) return true;
|
||||
if ((*it)->isActive() && (*it)->resultDefinition->hasDynamicResult()) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user