CMP_TREE_MODEL: set LibID for library nodes

LibID needs to be set for libraries as well to be able to tell which
library has been selected in the component tree widget.
This commit is contained in:
Maciej Suminski 2017-11-06 14:38:33 +01:00
parent 19a85a36a3
commit d29e115804
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ CMP_TREE_NODE_LIB::CMP_TREE_NODE_LIB( CMP_TREE_NODE* aParent, wxString const& aN
Name = aName;
MatchName = aName.Lower();
Parent = aParent;
LibId.SetLibNickname( aName );
}