Update description when tree item is in editor.
Fixes: lp:1820298 * https://bugs.launchpad.net/kicad/+bug/1820298
This commit is contained in:
parent
b57e9492b1
commit
bc4cc00332
|
@ -175,7 +175,10 @@ void FP_TREE_SYNCHRONIZING_ADAPTER::GetValue( wxVariant& aVariant, wxDataViewIte
|
|||
break;
|
||||
|
||||
case 1:
|
||||
aVariant = node->Desc;
|
||||
if( node->LibId == m_frame->GetLoadedFPID() && !m_frame->IsCurrentFPFromBoard() )
|
||||
aVariant = m_frame->GetBoard()->m_Modules->GetDescription();
|
||||
else
|
||||
aVariant = node->Desc;
|
||||
break;
|
||||
|
||||
default: // column == -1 is used for default Compare function
|
||||
|
|
Loading…
Reference in New Issue