From cb15bd16355b5e8ae58ba05a2e396e57fd28c700 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 25 May 2022 23:42:52 +0100 Subject: [PATCH] Fix compile issue. --- 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 1566c98367..6c267a3d03 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -1219,7 +1219,7 @@ void SIM_PLOT_FRAME::menuSaveCsv( wxCommandEvent& event ) wxFFile out( saveDlg.GetPath(), "wb" ); std::map traces = GetCurrentPlot()->GetTraces(); - + if( traces.size() == 0 ) return;