mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Improved handling of icon enabled state
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user