Component chooser: add missing info panel updates
This commit is contained in:
parent
b4f4ff9353
commit
5dea5e2ada
|
@ -72,6 +72,7 @@ DIALOG_CHOOSE_COMPONENT::DIALOG_CHOOSE_COMPONENT( SCH_BASE_FRAME* aParent, const
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
Centre();
|
Centre();
|
||||||
|
updateSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -119,6 +120,8 @@ void DIALOG_CHOOSE_COMPONENT::selectIfValid( const wxTreeListItem& aTreeId )
|
||||||
{
|
{
|
||||||
if( aTreeId.IsOk() && aTreeId != m_libraryComponentTree->GetRootItem() )
|
if( aTreeId.IsOk() && aTreeId != m_libraryComponentTree->GetRootItem() )
|
||||||
m_libraryComponentTree->Select( aTreeId );
|
m_libraryComponentTree->Select( aTreeId );
|
||||||
|
|
||||||
|
updateSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue