Fix another early return while evaluating text variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/13610
This commit is contained in:
parent
12215647f1
commit
2367c5cf1b
|
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue