Fix erroneous early return.
Fixes https://gitlab.com/kicad/code/kicad/issues/13592
This commit is contained in:
parent
959e20f52c
commit
715340b129
|
@ -158,7 +158,8 @@ bool SCHEMATIC::ResolveTextVar( wxString* token, int aDepth ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
return CurrentSheet().LastScreen()->GetTitleBlock().TextVarResolver( token, m_project );
|
||||
if( CurrentSheet().LastScreen()->GetTitleBlock().TextVarResolver( token, m_project ) )
|
||||
return true;
|
||||
}
|
||||
|
||||
if( Prj().TextVarResolver( token ) )
|
||||
|
|
Loading…
Reference in New Issue