Browse Source

Simulator: populate DC sources list.

6.0.7
Jonatan Liljedahl 5 years ago
parent
commit
a8672dd2f9
  1. 12
      eeschema/dialogs/dialog_sim_settings.cpp

12
eeschema/dialogs/dialog_sim_settings.cpp

@ -333,6 +333,18 @@ bool DIALOG_SIM_SETTINGS::TransferDataToWindow()
}
}
if( !m_dcSource1->GetCount() )
{
wxChar type1 = getStringSelection( m_dcSourceType1 ).Upper().GetChar( 0 );
updateDCSources( type1, m_dcSource1 );
}
if( !m_dcSource2->GetCount() )
{
wxChar type2 = getStringSelection( m_dcSourceType2 ).Upper().GetChar( 0 );
updateDCSources( type2, m_dcSource2 );
}
if( m_simCommand.IsEmpty() && !empty( m_customTxt ) )
return parseCommand( m_customTxt->GetValue() );

Loading…
Cancel
Save