Fix ngspice nested DC sweep command

Fixes: lp:1824336
* https://bugs.launchpad.net/kicad/+bug/1824336
This commit is contained in:
Jon Evans 2019-04-13 16:38:25 -04:00
parent 216573bf48
commit c29274e760
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
{
wxString dcSource = m_exporter->GetSpiceDevice( m_dcSource2->GetValue() );
if( m_dcEnable1->IsChecked() )
simCmd += " ";
simCmd += wxString::Format( "%s %s %s %s",
dcSource,
SPICE_VALUE( m_dcStart2->GetValue() ).ToSpiceString(),