Pcbnew: fix default button while in text edit control on Linux in footprint text edit dialog.

This commit is contained in:
Chris Pavlina 2015-07-21 09:28:19 -04:00 committed by Wayne Stambaugh
parent e173023e27
commit ca0849b968
1 changed files with 1 additions and 4 deletions

View File

@ -75,10 +75,7 @@ DialogEditModuleText::DialogEditModuleText( PCB_BASE_FRAME* aParent,
initDlg();
wxButton* okButton = (wxButton*) FindWindowById( wxID_OK );
if( okButton )
SetDefaultItem( okButton );
m_sdbSizer1OK->SetDefault();
GetSizer()->Fit( this );
GetSizer()->SetSizeHints( this );