Use semantic version in drawing sheets.
This commit is contained in:
parent
dc6fb73b40
commit
d4879e05ac
|
@ -121,9 +121,7 @@ wxString DS_DRAW_ITEM_LIST::BuildFullText( const wxString& aTextbase )
|
||||||
|
|
||||||
if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) && PgmOrNull() )
|
if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) && PgmOrNull() )
|
||||||
{
|
{
|
||||||
*token = wxString::Format( wxT( "%s %s" ),
|
*token = wxString::Format( wxT( "%s %s" ), productName, GetSemanticVersion() );
|
||||||
productName,
|
|
||||||
GetMajorMinorPatchVersion() );
|
|
||||||
tokenUpdated = true;
|
tokenUpdated = true;
|
||||||
}
|
}
|
||||||
else if( token->IsSameAs( wxT( "#" ) ) )
|
else if( token->IsSameAs( wxT( "#" ) ) )
|
||||||
|
|
Loading…
Reference in New Issue