Use display titles for axes in CSV output.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17324
(cherry picked from commit d9a6b2aec2
)
This commit is contained in:
parent
c748645334
commit
9000cfb9cd
|
@ -211,7 +211,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" ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue