mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update UI icon of RimCellEdgeColors
This commit is contained in:
parent
af1a5790a2
commit
63ed79e0e8
@ -148,6 +148,7 @@ void RimCellEdgeColors::loadResult()
|
||||
void RimCellEdgeColors::initAfterRead()
|
||||
{
|
||||
m_singleVarEdgeResultColors->initAfterRead();
|
||||
this->updateUiIconFromToggleField();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -158,6 +159,11 @@ void RimCellEdgeColors::fieldChangedByUi(const caf::PdmFieldHandle* changedField
|
||||
loadResult();
|
||||
|
||||
if (m_reservoirView) m_reservoirView->createDisplayModelAndRedraw();
|
||||
|
||||
if (changedField == objectToggleField())
|
||||
{
|
||||
updateUiIconFromToggleField();
|
||||
}
|
||||
}
|
||||
|
||||
namespace caf
|
||||
|
Loading…
Reference in New Issue
Block a user