mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3807 Make sure changing weights updates contour map
This commit is contained in:
@@ -767,3 +767,17 @@ RimEclipseContourMapView* RimEclipseContourMapProjection::view() const
|
||||
firstAncestorOrThisOfTypeAsserted(view);
|
||||
return view;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseContourMapProjection::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue)
|
||||
{
|
||||
RimContourMapProjection::fieldChangedByUi(changedField, oldValue, newValue);
|
||||
if (changedField == &m_weightByParameter || changedField == &m_weightingResult)
|
||||
{
|
||||
clearGridMapping();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user