Include sim command when running external SPICE.

Fixes https://gitlab.com/kicad/code/kicad/issues/13295
This commit is contained in:
Jeff Young 2022-12-28 12:27:53 +00:00
parent d50b3550af
commit 87448e0c55
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ void DIALOG_EXPORT_NETLIST::OnRunExternSpiceCommand( wxCommandEvent& event )
SCHEMATIC_SETTINGS& settings = m_Parent->Schematic().Settings();
wxString simulatorCommand = settings.m_SpiceCommandString;
unsigned netlist_opt = 0;
unsigned netlist_opt = NETLIST_EXPORTER_SPICE::OPTION_SIM_COMMAND;
// Calculate the netlist filename and options
wxFileName fn = m_Parent->Schematic().GetFileName();