WBS: Avoid empty text in legends on reload.

This commit is contained in:
Kristian Bendiksen
2024-03-04 17:53:10 +01:00
committed by jonjenssen
parent b8f9beab91
commit a2fa2a0e77

View File

@@ -1162,7 +1162,7 @@ void RimPlotCurve::setParentPlotNoReplot( RiuPlotWidget* plotWidget )
}
auto color = RiaColorTools::toQColor( m_curveAppearance->color() );
m_plotCurve = m_parentPlot->createPlotCurve( this, "" );
m_plotCurve = m_parentPlot->createPlotCurve( this, m_curveName );
m_plotCurve->updateErrorBarsAppearance( m_showErrorBars, color );
// PERFORMANCE NOTE