diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 074a3e6682..010b81bfaf 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -466,8 +466,10 @@ void SIM_PLOT_FRAME::StartSimulation( const wxString& aSimCommand ) if( aSimCommand != "" ) m_circuitModel->SetSimCommand( aSimCommand ); - else + else if( m_circuitModel->GetSheetSimCommand() != getCurrentSimCommand() ) m_circuitModel->SetSimCommand( getCurrentSimCommand() ); + else + m_circuitModel->SetSimCommand( "" ); // Make .save all and .probe alli permanent for now. m_circuitModel->SetOptions( m_settingsDlg->GetNetlistOptions()