Remove duplicate path for extracting project text variables
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15283
This commit is contained in:
parent
2459949d0d
commit
9741d57447
|
@ -335,9 +335,6 @@ void PCB_BASE_EDIT_FRAME::GetContextualTextVars( BOARD_ITEM* aSourceItem, const
|
|||
|
||||
if( FOOTPRINT* footprint = aSourceItem->GetParentFootprint() )
|
||||
footprint->GetContextualTextVars( aTokens );
|
||||
|
||||
for( std::pair<wxString, wxString> entry : board->GetProject()->GetTextVars() )
|
||||
aTokens->push_back( entry.first );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue