From 288ecb9a02e64c627b457163f80da5affbe85579 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 15 Jan 2021 20:54:37 +0000 Subject: [PATCH] Fix logic error in recent commit. Fixes https://gitlab.com/kicad/code/kicad/issues/7118 --- common/page_layout/ws_painter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/page_layout/ws_painter.cpp b/common/page_layout/ws_painter.cpp index 3abb91d811..f267241e80 100644 --- a/common/page_layout/ws_painter.cpp +++ b/common/page_layout/ws_painter.cpp @@ -165,6 +165,8 @@ wxString WS_DRAW_ITEM_LIST::BuildFullText( const wxString& aTextbase ) else if( m_titleBlock ) { m_titleBlock->TextVarResolver( token, m_project ); + // no need for tokenUpdated; TextVarResolver() did a full resolve + return true; } if( tokenUpdated )