Ensure shown text is cached at creation

This commit is contained in:
Jon Evans 2019-04-25 00:46:51 -04:00
parent e06d37090a
commit 1426a4f3cf
1 changed files with 1 additions and 0 deletions

View File

@ -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 );
}