Fix another early return while evaluating text variables.

Fixes https://gitlab.com/kicad/code/kicad/issues/13610
This commit is contained in:
Jeff Young 2023-01-20 19:19:44 +00:00
parent 12215647f1
commit 2367c5cf1b
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ wxString DS_DRAW_ITEM_LIST::BuildFullText( const wxString& aTextbase )
{ {
// no need for tokenUpdated; TITLE_BLOCK::TextVarResolver() does a full // no need for tokenUpdated; TITLE_BLOCK::TextVarResolver() does a full
// resolve // resolve
return m_titleBlock->TextVarResolver( token, m_project ); if( m_titleBlock->TextVarResolver( token, m_project ) )
return true;
} }
else if( m_properties && m_properties->count( *token ) ) else if( m_properties && m_properties->count( *token ) )
{ {