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:
@@ -63,10 +63,7 @@ caf::PdmFieldHandle* RimFault::userDescriptionField()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimFault::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
{
|
||||
if (&showFault == changedField)
|
||||
{
|
||||
this->updateUiIconFromState(showFault);
|
||||
}
|
||||
this->updateUiIconFromToggleField();
|
||||
|
||||
if (&faultColor == changedField || &showFault == changedField)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user