mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Minor fix to ERC dialog
Correctly displays ERC aux item description when tied to specific sheet context
This commit is contained in:
parent
43e4797d4d
commit
f683df0d1f
@ -360,7 +360,7 @@ void ERC_TREE_MODEL::GetValue( wxVariant& aVariant, wxDataViewItem const& aItem,
|
||||
if( ercItem->AuxItemHasSheetPath() )
|
||||
ercItem->GetAuxItemSheetPath().UpdateAllScreenReferences();
|
||||
|
||||
EDA_ITEM* item = m_editFrame->GetItem( rcItem->GetMainItemID() );
|
||||
EDA_ITEM* item = m_editFrame->GetItem( rcItem->GetAuxItemID() );
|
||||
aVariant = item->GetItemDescription( m_editFrame );
|
||||
|
||||
// Reset reference fields to current visible sheet
|
||||
|
Loading…
x
Reference in New Issue
Block a user