Make sure the current desc is shown for parts being edited.
Fixes: lp:1820298
* https://bugs.launchpad.net/kicad/+bug/1820298
(cherry picked from commit 7c337ec45d
)
This commit is contained in:
parent
006d7ddd31
commit
cd6da987cc
|
@ -222,7 +222,10 @@ void SYMBOL_TREE_SYNCHRONIZING_ADAPTER::GetValue( wxVariant& aVariant, wxDataVie
|
|||
break;
|
||||
|
||||
case 1:
|
||||
aVariant = node->Desc;
|
||||
if( node->LibId == m_libMgr->GetCurrentLibId() )
|
||||
aVariant = m_libMgr->GetAlias( node->Name, node->Parent->Name )->GetDescription();
|
||||
else
|
||||
aVariant = node->Desc;
|
||||
break;
|
||||
|
||||
default: // column == -1 is used for default Compare function
|
||||
|
|
Loading…
Reference in New Issue