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

@@ -415,7 +415,7 @@ void RimReservoirView::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
}
}
this->updateUiIconFromState(showWindow);
this->updateUiIconFromToggleField();
}
else if (changedField == &backgroundColor )
{
@@ -974,6 +974,8 @@ void RimReservoirView::initAfterRead()
this->cellEdgeResult()->setReservoirView(this);
this->rangeFilterCollection()->setReservoirView(this);
this->propertyFilterCollection()->setReservoirView(this);
this->updateUiIconFromToggleField();
}
//--------------------------------------------------------------------------------------------------