Removed redundant 'v' in noise simulation command

Fixes: lp:1784282
* https://bugs.launchpad.net/kicad/+bug/1784282
This commit is contained in:
Maciej Suminski
2018-08-01 17:28:55 +02:00
parent 3d28d0274b
commit 53236a3838
+1 -1
View File
@@ -203,7 +203,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
if( noiseSource[0] != 'v' && noiseSource[0] != 'V' )
noiseSource += 'v' + noiseSource;
m_simCommand = wxString::Format( ".noise v(%d%s) v%s %s %s %s %s",
m_simCommand = wxString::Format( ".noise v(%d%s) %s %s %s %s %s",
netMap.at( m_noiseMeas->GetValue() ), ref,
noiseSource, scaleToString( m_noiseScale->GetSelection() ),
m_noisePointsNumber->GetValue(),