Improved handling of icon enabled state

This commit is contained in:
Magne Sjaastad
2014-08-01 13:35:52 +02:00
parent c579c61404
commit 0550f9df8c
10 changed files with 20 additions and 17 deletions

View File

@@ -138,7 +138,7 @@ RigActiveCellInfo* RimCellRangeFilterCollection::activeCellInfo() const
//--------------------------------------------------------------------------------------------------
void RimCellRangeFilterCollection::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
{
updateUiIconFromState(isActive);
this->updateUiIconFromToggleField();
CVF_ASSERT(m_reservoirView);
@@ -184,8 +184,9 @@ void RimCellRangeFilterCollection::initAfterRead()
RimCellRangeFilter* rangeFilter = *it;
rangeFilter->setParentContainer(this);
rangeFilter->updateIconState();
}
this->updateUiIconFromToggleField();
}
//--------------------------------------------------------------------------------------------------