Browse Source

Library pointer can be null even when LibId is set.

pull/13/head
Jeff Young 7 years ago
parent
commit
3a39ea21a2
  1. 2
      common/lib_tree_model.cpp

2
common/lib_tree_model.cpp

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

Loading…
Cancel
Save