Library pointer can be null even when LibId is set.

This commit is contained in:
Jeff Young 2018-08-01 15:23:05 +01:00
parent 2155dd6591
commit 3a39ea21a2
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ void LIB_TREE_NODE_LIB_ID::Update( LIB_TREE_ITEM* aItem )
{
// Update is called when the names match, so just update the other fields.
LibId.SetLibNickname( aItem->GetLibNickname() );
LibId.SetLibNickname( aItem->GetLibId().GetLibNickname() );
Desc = aItem->GetDescription();