Scroll library into view after open from Kicad app.
Fixes: lp:1793621 * https://bugs.launchpad.net/kicad/+bug/1793621
This commit is contained in:
parent
533b26e8a1
commit
c95c6c8db7
|
@ -1714,7 +1714,11 @@ void LIB_EDIT_FRAME::KiwayMailIn( KIWAY_EXPRESS& mail )
|
|||
SetCurLib( libNickname );
|
||||
|
||||
if( m_treePane )
|
||||
m_treePane->GetLibTree()->ExpandLibId( LIB_ID( libNickname, wxEmptyString ) );
|
||||
{
|
||||
LIB_ID id( libNickname, wxEmptyString );
|
||||
m_treePane->GetLibTree()->ExpandLibId( id );
|
||||
m_treePane->GetLibTree()->CenterLibId( id );
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue