Browse Source

EEschema features need to process ~ for empty string; not EDA_TEXT.

Fixes https://gitlab.com/kicad/code/kicad/issues/10918
7.0
Jeff Young 4 years ago
parent
commit
47315864c4
  1. 2
      common/eda_text.cpp

2
common/eda_text.cpp

@ -403,7 +403,7 @@ void EDA_TEXT::Empty()
void EDA_TEXT::cacheShownText()
{
if( m_text.IsEmpty() || m_text == wxT( "~" ) ) // ~ is legacy empty-string token
if( m_text.IsEmpty() )
{
m_shown_text = wxEmptyString;
m_shown_text_has_text_var_refs = false;

Loading…
Cancel
Save