Browse Source

Assertion reduction (KICAD-756).

pull/18/head
Jeff Young 4 months ago
parent
commit
fa3d23a818
  1. 2
      eeschema/dialogs/dialog_sim_command.cpp

2
eeschema/dialogs/dialog_sim_command.cpp

@ -570,7 +570,7 @@ void DIALOG_SIM_COMMAND::updateDCSources( wxChar aType, wxChoice* aSource )
{
wxString prevSelection;
if( !aSource->IsEmpty() )
if( !aSource->IsEmpty() && aSource->GetSelection() >= 0 )
prevSelection = aSource->GetString( aSource->GetSelection() );
std::set<wxString> sourcesList;

Loading…
Cancel
Save