Fixes escape key doesn't dismiss select component dialog in EESchema bug.

This commit is contained in:
Wayne Stambaugh 2011-02-15 09:50:25 -05:00
parent f8263c0e62
commit 821b8b65ec
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ DIALOG_GET_COMPONENT::DIALOG_GET_COMPONENT( EDA_DRAW_FRAME* parent,
#endif
initDialog( HistoryList );
m_textCmpNameCtrl->SetFocus();
GetSizer()->Fit( this );
GetSizer()->SetSizeHints( this );
}