Use semantic version in drawing sheets.

This commit is contained in:
Alex 2024-02-03 20:24:18 +03:00
parent dc6fb73b40
commit d4879e05ac
1 changed files with 1 additions and 3 deletions

View File

@ -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( "#" ) ) )