Cleanup unused code

This commit is contained in:
Seth Hillbrand
2025-03-05 11:33:38 -08:00
parent a091b6c1c9
commit c108b20616
@@ -709,13 +709,6 @@ bool DIALOG_LABEL_PROPERTIES::TransferDataFromWindow()
m_labelList->push_back( std::unique_ptr<SCH_LABEL_BASE>( label ) );
break;
}
case SCH_DIRECTIVE_LABEL_T:
{
SCH_DIRECTIVE_LABEL* label = new SCH_DIRECTIVE_LABEL( *static_cast<SCH_DIRECTIVE_LABEL*>( m_currentLabel ) );
label->SetText( text );
m_labelList->push_back( std::unique_ptr<SCH_LABEL_BASE>( label ) );
break;
}
default:
break;
}