From 47315864c45506383651fd5cb492bafd7ddc6303 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 20 Feb 2022 18:55:55 +0000 Subject: [PATCH] EEschema features need to process ~ for empty string; not EDA_TEXT. Fixes https://gitlab.com/kicad/code/kicad/issues/10918 --- common/eda_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/eda_text.cpp b/common/eda_text.cpp index 7e26d30625..3a9eb6393b 100644 --- a/common/eda_text.cpp +++ b/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;