Fix ngspice nested DC sweep command
Fixes: lp:1824336 * https://bugs.launchpad.net/kicad/+bug/1824336
This commit is contained in:
parent
216573bf48
commit
c29274e760
|
@ -158,6 +158,9 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
||||||
{
|
{
|
||||||
wxString dcSource = m_exporter->GetSpiceDevice( m_dcSource2->GetValue() );
|
wxString dcSource = m_exporter->GetSpiceDevice( m_dcSource2->GetValue() );
|
||||||
|
|
||||||
|
if( m_dcEnable1->IsChecked() )
|
||||||
|
simCmd += " ";
|
||||||
|
|
||||||
simCmd += wxString::Format( "%s %s %s %s",
|
simCmd += wxString::Format( "%s %s %s %s",
|
||||||
dcSource,
|
dcSource,
|
||||||
SPICE_VALUE( m_dcStart2->GetValue() ).ToSpiceString(),
|
SPICE_VALUE( m_dcStart2->GetValue() ).ToSpiceString(),
|
||||||
|
|
Loading…
Reference in New Issue