mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improved handling of icon enabled state
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user