Don't throw up debug message when signal is deleted.
Fixes https://gitlab.com/kicad/code/kicad/issues/13711
This commit is contained in:
parent
c939b1ef76
commit
123467c8dd
|
@ -778,7 +778,10 @@ bool SIM_PLOT_FRAME::updatePlot( const wxString& aName, SIM_PLOT_TYPE aType,
|
|||
wxFAIL_MSG( wxT( "Unhandled plot type" ) );
|
||||
}
|
||||
|
||||
wxCHECK_MSG( data_y.size() >= size, false, wxT( "No (or not enough) y data values to plot" ) );
|
||||
if( data_y.size() == 0 )
|
||||
return false; // Signal no longer exists
|
||||
else
|
||||
wxCHECK_MSG( data_y.size() >= size, false, wxT( "Not enough y data values to plot" ) );
|
||||
|
||||
// If we did a two-source DC analysis, we need to split the resulting vector and add traces
|
||||
// for each input step
|
||||
|
|
Loading…
Reference in New Issue