From 494d79423eca86c383e1e266c3d6dd8fa9d7d741 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 19 Jun 2022 20:56:13 +0100 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/issues/11809 --- eeschema/dialogs/dialog_lib_text_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_lib_text_properties.cpp b/eeschema/dialogs/dialog_lib_text_properties.cpp index 264f06327c..4332e8775a 100644 --- a/eeschema/dialogs/dialog_lib_text_properties.cpp +++ b/eeschema/dialogs/dialog_lib_text_properties.cpp @@ -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 );