Fix ngspice nested DC sweep command

Fixes: lp:1824336
* https://bugs.launchpad.net/kicad/+bug/1824336

(cherry picked from commit c29274e760)
This commit is contained in:
Jon Evans 2019-04-13 16:38:25 -04:00
parent eadf6d93bc
commit 77706a7ea6
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(),