Add event.Skip() call so someone else handles the focus.

DIALOG_EDIT_ONE_FIELD::OnSetFocusText() is only for setting the
selection correctly, not doing the actual focus.

Fixes: lp:1783615
* https://bugs.launchpad.net/kicad/+bug/1783615
This commit is contained in:
Jeff Young 2018-07-26 15:41:08 +01:00
parent cb61525394
commit cd3d4b106a
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ void DIALOG_EDIT_ONE_FIELD::OnSetFocusText( wxFocusEvent& event )
{
m_TextValue->SetSelection( -1, -1 );
}
event.Skip();
}