7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 21:41:40 +00:00

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

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();