Don't attempt to load unknown plot types.
This commit is contained in:
parent
3afe02ac1f
commit
1dc9583e06
|
@ -1069,7 +1069,8 @@ bool SIM_PLOT_FRAME::loadWorkbook( const wxString& aPath )
|
|||
}
|
||||
#endif
|
||||
|
||||
addPlot( name, (SIM_PLOT_TYPE) traceType );
|
||||
if( traceType != SPT_UNKNOWN )
|
||||
addPlot( name, (SIM_PLOT_TYPE) traceType );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue