EEschema features need to process ~ for empty string; not EDA_TEXT.
Fixes https://gitlab.com/kicad/code/kicad/issues/10918
This commit is contained in:
parent
52a2d52bf0
commit
47315864c4
|
@ -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…
Reference in New Issue