Score initializing is done by LIB_TREE_NODE::ResetScore().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15875
This commit is contained in:
Jeff Young 2023-10-23 13:09:10 +01:00
parent ab89038fa8
commit bc0fe74f72
1 changed files with 0 additions and 2 deletions

View File

@ -268,8 +268,6 @@ LIB_TREE_NODE_LIB_ID& LIB_TREE_NODE_LIB::AddItem( LIB_TREE_ITEM* aItem )
void LIB_TREE_NODE_LIB::UpdateScore( EDA_COMBINED_MATCHER* aMatcher, const wxString& aLib )
{
m_Score = 0;
// We need to score leaf nodes, which are usually (but not always) children.
if( m_Children.size() )