Fix egregious typo.
This commit is contained in:
parent
0bd3341f0f
commit
1594df3498
|
@ -366,7 +366,7 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
|
||||||
if( m_currentItem->Type() == SCH_TEXTBOX_T )
|
if( m_currentItem->Type() == SCH_TEXTBOX_T )
|
||||||
{
|
{
|
||||||
// Textboxes have a defined extent and so are allowed to be empty
|
// Textboxes have a defined extent and so are allowed to be empty
|
||||||
m_currentText->SetText( wxEmptyString );
|
m_currentText->SetText( text );
|
||||||
}
|
}
|
||||||
else if( !text.IsEmpty() )
|
else if( !text.IsEmpty() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue