Use display titles for axes in CSV output.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17324
This commit is contained in:
Jeff Young 2024-05-13 00:36:02 +01:00
parent 667fedd9a9
commit d9a6b2aec2
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ int SIMULATOR_CONTROL::ExportPlotAsCSV( const TOOL_EVENT& aEvent )
out.Write( wxString::Format( wxT( "%s%c" ), xAxisName, SEPARATOR ) ); out.Write( wxString::Format( wxT( "%s%c" ), xAxisName, SEPARATOR ) );
for( const auto& [name, trace] : traces ) 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" ) ); out.Write( wxS( "\r\n" ) );