From d9a6b2aec28a19d0b3a3680efdf876b6c5645748 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 13 May 2024 00:36:02 +0100 Subject: [PATCH] Use display titles for axes in CSV output. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17324 --- eeschema/tools/simulator_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) );