From 1ac81c04e5b8115404b8a935b6030a235cb2f351 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 25 Feb 2021 12:52:04 +0100 Subject: [PATCH] Bugfix for "Edit text and graphic properties" dialog: vertical alignment code erroneously checked against change in horizontal alignment UI item --- eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp b/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp index 566e188338..609a0473b3 100644 --- a/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp +++ b/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp @@ -246,7 +246,7 @@ void DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem( const SCH_SHEET_PATH& aS m_hasChange = true; } - if( m_hAlign->GetStringSelection() != INDETERMINATE_ACTION ) + if( m_vAlign->GetStringSelection() != INDETERMINATE_ACTION ) { eda_text->SetVertJustify( EDA_TEXT::MapVertJustify( m_vAlign->GetSelection() - 1 ) ); m_hasChange = true;