Set library selection when pre-loading the Footprint Viewer.

Fixes: lp:1826932
* https://bugs.launchpad.net/kicad/+bug/1826932
This commit is contained in:
Jeff Young 2019-06-27 00:40:08 +01:00
parent 7208ef481f
commit 8efe8d1835
1 changed files with 2 additions and 0 deletions

View File

@ -616,6 +616,8 @@ bool FOOTPRINT_VIEWER_FRAME::ShowModal( wxString* aFootprint, wxWindow* aParent
{
setCurNickname( nickname );
setCurFootprintName( fpid.GetLibItemName() );
m_libList->SetStringSelection( nickname );
ReCreateFootprintList();
}