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
d5ca09dffc
commit
cf9fafaba5
|
@ -188,7 +188,7 @@ bool EDA_TEXT::Replace( const wxFindReplaceData& aSearchData )
|
|||
|
||||
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