diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 01cb96258d..617412ed09 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -480,6 +480,9 @@ void FOOTPRINT::GetContextualTextVars( wxArrayString* aVars ) const bool FOOTPRINT::ResolveTextVar( wxString* token, int aDepth ) const { + if( GetBoard() && GetBoard()->GetBoardUse() == BOARD_USE::FPHOLDER ) + return false; + if( token->IsSameAs( wxT( "REFERENCE" ) ) ) { *token = m_reference->GetShownText( aDepth + 1 );