Scroll Footprint Viewer to selected item when opening.
This commit is contained in:
parent
6c693f80a7
commit
b08766a2fa
|
@ -379,7 +379,10 @@ void FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList()
|
|||
if( index == wxNOT_FOUND )
|
||||
setCurFootprintName( wxEmptyString );
|
||||
else
|
||||
{
|
||||
m_footprintList->SetSelection( index, true );
|
||||
m_footprintList->EnsureVisible( index );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue