Improved handling of icon enabled state

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

View File

@@ -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();