Improved handling of icon enabled state

This commit is contained in:
Magne Sjaastad
2014-08-14 10:56:08 +02:00
parent c579c61404
commit 0550f9df8c
10 changed files with 20 additions and 17 deletions
@@ -86,11 +86,8 @@ RimFaultCollection::~RimFaultCollection()
//--------------------------------------------------------------------------------------------------
void RimFaultCollection::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
{
if (&showFaultCollection == changedField)
{
this->updateUiIconFromState(showFaultCollection);
}
this->updateUiIconFromToggleField();
if (&faultLabelColor == changedField)
{
m_reservoirView->scheduleReservoirGridGeometryRegen();