Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/issues/11809
This commit is contained in:
Jeff Young 2022-06-19 20:56:13 +01:00
parent 801a98a302
commit 494d79423e
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ void DIALOG_LIB_TEXT_PROPERTIES::onHAlignButton( wxCommandEvent& aEvent )
void DIALOG_LIB_TEXT_PROPERTIES::onVAlignButton( wxCommandEvent& aEvent )
{
for( BITMAP_BUTTON* btn : { m_vAlignTop, m_vAlignTop, m_vAlignBottom } )
for( BITMAP_BUTTON* btn : { m_vAlignTop, m_vAlignCenter, m_vAlignBottom } )
{
if( btn->IsChecked() && btn != aEvent.GetEventObject() )
btn->Check( false );