Fixes escape key doesn't dismiss select component dialog in EESchema bug.
This commit is contained in:
parent
f8263c0e62
commit
821b8b65ec
|
@ -37,6 +37,7 @@ DIALOG_GET_COMPONENT::DIALOG_GET_COMPONENT( EDA_DRAW_FRAME* parent,
|
||||||
#endif
|
#endif
|
||||||
initDialog( HistoryList );
|
initDialog( HistoryList );
|
||||||
|
|
||||||
|
m_textCmpNameCtrl->SetFocus();
|
||||||
GetSizer()->Fit( this );
|
GetSizer()->Fit( this );
|
||||||
GetSizer()->SetSizeHints( this );
|
GetSizer()->SetSizeHints( this );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue