mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4336 make sure data colors are updated in Grid Cross plots when changing legend colors
This commit is contained in:
parent
d6b5444c51
commit
3a91412d6c
@ -262,6 +262,7 @@ void RimRegularLegendConfig::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
|||||||
firstAncestorOrThisOfType(crossPlotCurveSet);
|
firstAncestorOrThisOfType(crossPlotCurveSet);
|
||||||
if (crossPlotCurveSet)
|
if (crossPlotCurveSet)
|
||||||
{
|
{
|
||||||
|
crossPlotCurveSet->destroyCurves();
|
||||||
crossPlotCurveSet->loadDataAndUpdate(true);
|
crossPlotCurveSet->loadDataAndUpdate(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user