Use display titles for axes in CSV output.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17324
This commit is contained in:
parent
667fedd9a9
commit
d9a6b2aec2
|
@ -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" ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue