From d4879e05ac0363028a0e3d053c64459436167b75 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 3 Feb 2024 20:24:18 +0300 Subject: [PATCH] Use semantic version in drawing sheets. --- common/drawing_sheet/ds_painter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/drawing_sheet/ds_painter.cpp b/common/drawing_sheet/ds_painter.cpp index 3284ebe108..bfc4b8af67 100644 --- a/common/drawing_sheet/ds_painter.cpp +++ b/common/drawing_sheet/ds_painter.cpp @@ -121,9 +121,7 @@ wxString DS_DRAW_ITEM_LIST::BuildFullText( const wxString& aTextbase ) if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) && PgmOrNull() ) { - *token = wxString::Format( wxT( "%s %s" ), - productName, - GetMajorMinorPatchVersion() ); + *token = wxString::Format( wxT( "%s %s" ), productName, GetSemanticVersion() ); tokenUpdated = true; } else if( token->IsSameAs( wxT( "#" ) ) )