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:
parent
b43b78bdd2
commit
47c44b4d83
|
@ -43,6 +43,9 @@ DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG::DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG( wxWindow
|
||||||
m_defaultFileFound = wxFileName::FileExists( fileName );
|
m_defaultFileFound = wxFileName::FileExists( fileName );
|
||||||
m_filePicker1->SetFileName( wxFileName( fileName ) );
|
m_filePicker1->SetFileName( wxFileName( fileName ) );
|
||||||
|
|
||||||
|
if( !m_defaultFileFound )
|
||||||
|
m_customRb->SetValue( true );
|
||||||
|
|
||||||
wxButton* okButton = (wxButton *) FindWindowById( wxID_OK );
|
wxButton* okButton = (wxButton *) FindWindowById( wxID_OK );
|
||||||
|
|
||||||
if( okButton )
|
if( okButton )
|
||||||
|
|
Loading…
Reference in New Issue