From 9c68d4792f5e70ab9e8fe0f3d3ab8abf81823302 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 1 Mar 2023 13:43:46 +0000 Subject: [PATCH] Fix bungle from earlier merge. --- eeschema/sim/sim_plot_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 67fe9b8845..7428d7ced4 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -1170,7 +1170,7 @@ void SIM_PLOT_FRAME::onSignalsGridCellChanged( wxGridEvent& aEvent ) if( col == COL_SIGNAL_SHOW ) { if( text == wxS( "1" ) ) - plot->AddTrace( vectorName, traceType ); + updateTrace( vectorName, traceType, plot ); else plot->DeleteTrace( vectorName, traceType );