mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Update UI icon of RimCellEdgeColors
This commit is contained in:
1 parent
af1a5790a2
commit
63ed79e0e8
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user