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:
@@ -45,8 +45,8 @@ RimCellFilter::RimCellFilter()
|
||||
CAF_PDM_InitObject("Cell Filter", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&name, "UserDescription", QString("Filter Name"), "Name", "", "", "");
|
||||
CAF_PDM_InitField(&active, "Active", true, "Active", "", "", "");
|
||||
active.setUiHidden(true);
|
||||
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");
|
||||
isActive.setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&filterMode, "FilterType", "Filter Type", "", "", "");
|
||||
}
|
||||
@@ -96,7 +96,7 @@ void RimCellFilter::updateIconState()
|
||||
painter.drawPixmap(0,0, sign);
|
||||
}
|
||||
|
||||
if (!active)
|
||||
if (!isActive)
|
||||
{
|
||||
QIcon temp(icPixmap);
|
||||
icPixmap = temp.pixmap(16, 16, QIcon::Disabled);
|
||||
@@ -111,5 +111,5 @@ void RimCellFilter::updateIconState()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimCellFilter::objectToggleField()
|
||||
{
|
||||
return &active;
|
||||
return &isActive;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user