Remove duplicate path for extracting project text variables

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15283
This commit is contained in:
Jon Evans 2023-08-01 17:25:34 -04:00
parent 2459949d0d
commit 9741d57447
1 changed files with 0 additions and 3 deletions

View File

@ -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 );
}
}