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:
@@ -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();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user