mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#7046 Cross Plot : Avoid reset of curve visibility when color legend visibility changes
This commit is contained in:
1 parent
f148554798
commit
e4ae27f792
1 file changed
+5
-1
@@ -351,7 +351,11 @@ void RimRegularLegendConfig::fieldChangedByUi( const caf::PdmFieldHandle* change
|
||||
firstAncestorOrThisOfType( crossPlotCurveSet );
|
||||
if ( crossPlotCurveSet )
|
||||
{
|
||||
crossPlotCurveSet->destroyCurves();
|
||||
if ( changedField != &m_showLegend )
|
||||
{
|
||||
crossPlotCurveSet->destroyCurves();
|
||||
}
|
||||
|
||||
crossPlotCurveSet->loadDataAndUpdate( true );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user