Simulator: populate DC sources list.

This commit is contained in:
Jonatan Liljedahl 2021-05-04 22:54:19 +02:00
parent d46e106564
commit a8672dd2f9
1 changed files with 12 additions and 0 deletions

View File

@ -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() );