PCB: text properties dialog should indicate "Offset X/Y:" properly

This commit is contained in:
Mike Williams 2023-06-13 08:49:07 -04:00
parent 78f1040f33
commit 74606cda9c
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent, PC
if( m_item->GetParentFootprint() )
{
m_PositionXLabel->SetLabel( _( "Offset X:" ) );
m_PositionYLabel->SetLabel( _( "Offset Y:" ) );
if( m_item->Type() == PCB_FIELD_T )
{
PCB_FIELD* field = static_cast<PCB_FIELD*>( m_item );