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,6 +222,9 @@ void SYMBOL_TREE_SYNCHRONIZING_ADAPTER::GetValue( wxVariant& aVariant, wxDataVie
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
if( node->LibId == m_libMgr->GetCurrentLibId() )
|
||||||
|
aVariant = m_libMgr->GetAlias( node->Name, node->Parent->Name )->GetDescription();
|
||||||
|
else
|
||||||
aVariant = node->Desc;
|
aVariant = node->Desc;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue