From 1594df349876029760d1a7773b2f134e07d374ad Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 5 Apr 2022 20:10:25 +0100 Subject: [PATCH] Fix egregious typo. --- eeschema/dialogs/dialog_text_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_text_properties.cpp b/eeschema/dialogs/dialog_text_properties.cpp index d3db1ad457..15e18c31c5 100644 --- a/eeschema/dialogs/dialog_text_properties.cpp +++ b/eeschema/dialogs/dialog_text_properties.cpp @@ -366,7 +366,7 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow() if( m_currentItem->Type() == SCH_TEXTBOX_T ) { // Textboxes have a defined extent and so are allowed to be empty - m_currentText->SetText( wxEmptyString ); + m_currentText->SetText( text ); } else if( !text.IsEmpty() ) {