From 1426a4f3cf259221a7bb6490160e2988e55b7c79 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 25 Apr 2019 00:46:51 -0400 Subject: [PATCH] Ensure shown text is cached at creation --- common/eda_text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/eda_text.cpp b/common/eda_text.cpp index 3b8bf3f1f9..a9c8ac7416 100644 --- a/common/eda_text.cpp +++ b/common/eda_text.cpp @@ -44,6 +44,7 @@ EDA_TEXT::EDA_TEXT( const wxString& text ) : { int sz = Mils2iu( DEFAULT_SIZE_TEXT ); SetTextSize( wxSize( sz, sz ) ); + m_shown_text = UnescapeString( text ); }