Sim Window: Display latest netlist without having to run sim
Fixes https://gitlab.com/kicad/code/kicad/issues/11787
This commit is contained in:
parent
aa0863cdf4
commit
ce3fe46751
|
@ -1624,7 +1624,10 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event )
|
||||||
if( m_schematicFrame == nullptr || m_simulator == nullptr )
|
if( m_schematicFrame == nullptr || m_simulator == nullptr )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
NETLIST_VIEW_DIALOG dlg( this, m_simulator->GetNetlist() );
|
STRING_FORMATTER formatter;
|
||||||
|
m_circuitModel->GetNetlist( &formatter );
|
||||||
|
|
||||||
|
NETLIST_VIEW_DIALOG dlg( this, formatter.GetString() );
|
||||||
dlg.ShowModal();
|
dlg.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue