Removed redundant 'v' in noise simulation command
Fixes: lp:1784282 * https://bugs.launchpad.net/kicad/+bug/1784282
This commit is contained in:
parent
3d28d0274b
commit
53236a3838
|
@ -203,7 +203,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
||||||
if( noiseSource[0] != 'v' && noiseSource[0] != 'V' )
|
if( noiseSource[0] != 'v' && noiseSource[0] != 'V' )
|
||||||
noiseSource += 'v' + noiseSource;
|
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,
|
netMap.at( m_noiseMeas->GetValue() ), ref,
|
||||||
noiseSource, scaleToString( m_noiseScale->GetSelection() ),
|
noiseSource, scaleToString( m_noiseScale->GetSelection() ),
|
||||||
m_noisePointsNumber->GetValue(),
|
m_noisePointsNumber->GetValue(),
|
||||||
|
|
Loading…
Reference in New Issue