diff --git a/eeschema/tools/simulator_control.cpp b/eeschema/tools/simulator_control.cpp index e54871eeb5..e214175c24 100644 --- a/eeschema/tools/simulator_control.cpp +++ b/eeschema/tools/simulator_control.cpp @@ -298,7 +298,7 @@ int SIMULATOR_CONTROL::ExportPlotAsCSV( const TOOL_EVENT& aEvent ) out.Write( wxString::Format( wxT( "%s%c" ), xAxisName, SEPARATOR ) ); for( const auto& [name, trace] : traces ) - out.Write( wxString::Format( wxT( "%s%c" ), name, SEPARATOR ) ); + out.Write( wxString::Format( wxT( "%s%c" ), trace->GetDisplayName(), SEPARATOR ) ); out.Write( wxS( "\r\n" ) );