Set library selection when pre-loading the Footprint Viewer.
Fixes: lp:1826932
* https://bugs.launchpad.net/kicad/+bug/1826932
(cherry picked from commit 8efe8d1835
)
This commit is contained in:
parent
be9cd98cb1
commit
ce329e13fb
|
@ -618,6 +618,8 @@ bool FOOTPRINT_VIEWER_FRAME::ShowModal( wxString* aFootprint, wxWindow* aParent
|
|||
{
|
||||
setCurNickname( nickname );
|
||||
setCurFootprintName( fpid.GetLibItemName() );
|
||||
|
||||
m_libList->SetStringSelection( nickname );
|
||||
ReCreateFootprintList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue