Bugfix for "Edit text and graphic properties" dialog: vertical alignment code

erroneously checked against change in horizontal alignment UI item
This commit is contained in:
jean-pierre charras 2021-02-25 12:52:04 +01:00
parent cfa3f3afeb
commit 1ac81c04e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;