Fix logic error in recent commit.

Fixes https://gitlab.com/kicad/code/kicad/issues/7118
This commit is contained in:
Jeff Young 2021-01-15 20:54:37 +00:00
parent 2d282b8b19
commit 288ecb9a02
1 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,8 @@ wxString WS_DRAW_ITEM_LIST::BuildFullText( const wxString& aTextbase )
else if( m_titleBlock )
{
m_titleBlock->TextVarResolver( token, m_project );
// no need for tokenUpdated; TextVarResolver() did a full resolve
return true;
}
if( tokenUpdated )