mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
#8843 Summary Curve : Set nullptr as curve symbol for None
This commit is contained in:
parent
cb8b18222e
commit
79fdc825ca
@ -506,12 +506,8 @@ void RiuQwtPlotCurve::setVisibleInLegend( bool isVisibleInLegend )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuQwtPlotCurve::setSymbol( RiuPlotCurveSymbol* symbol )
|
||||
{
|
||||
if ( symbol )
|
||||
{
|
||||
auto qwtSymbol = dynamic_cast<RiuQwtSymbol*>( symbol );
|
||||
CAF_ASSERT( qwtSymbol );
|
||||
QwtPlotCurve::setSymbol( qwtSymbol );
|
||||
}
|
||||
auto qwtSymbol = dynamic_cast<RiuQwtSymbol*>( symbol );
|
||||
QwtPlotCurve::setSymbol( qwtSymbol );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user