Fix egregious typo.

This commit is contained in:
Jeff Young 2022-04-05 20:10:25 +01:00
parent 0bd3341f0f
commit 1594df3498
1 changed files with 1 additions and 1 deletions

View File

@ -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() )
{