Unselect 'copy default sym-lib-table' when unavailable

It used to be selected as the primary choice even though the option was
disabled.
This commit is contained in:
Maciej Suminski 2018-06-29 09:19:41 +02:00
parent b43b78bdd2
commit 47c44b4d83
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG::DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG( wxWindow
m_defaultFileFound = wxFileName::FileExists( fileName );
m_filePicker1->SetFileName( wxFileName( fileName ) );
if( !m_defaultFileFound )
m_customRb->SetValue( true );
wxButton* okButton = (wxButton *) FindWindowById( wxID_OK );
if( okButton )