Pcbnew: fix default button while in text edit control on Linux in footprint text edit dialog.
This commit is contained in:
parent
e173023e27
commit
ca0849b968
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue