Layout Track / Via Properties dialog.

It's sizing is dependent on the selection.

Fixes: lp:1772260
* https://bugs.launchpad.net/kicad/+bug/1772260
This commit is contained in:
Jeff Young 2018-05-20 15:54:41 +01:00
parent 63c9e11aae
commit 62a5ee8c21
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen
m_StdButtonsOK->SetDefault();
Layout();
// Pressing ENTER when any of the text input fields is active applies changes
Connect( wxEVT_TEXT_ENTER, wxCommandEventHandler( DIALOG_TRACK_VIA_PROPERTIES::onOkClick ),
NULL, this );