Component chooser: add missing info panel updates

This commit is contained in:
Chris Pavlina 2017-02-19 10:01:45 -05:00
parent b4f4ff9353
commit 5dea5e2ada
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,7 @@ DIALOG_CHOOSE_COMPONENT::DIALOG_CHOOSE_COMPONENT( SCH_BASE_FRAME* aParent, const
Layout();
Centre();
updateSelection();
}
@ -119,6 +120,8 @@ void DIALOG_CHOOSE_COMPONENT::selectIfValid( const wxTreeListItem& aTreeId )
{
if( aTreeId.IsOk() && aTreeId != m_libraryComponentTree->GetRootItem() )
m_libraryComponentTree->Select( aTreeId );
updateSelection();
}