Must also set local coords when moving footprint texts.

Fixes: lp:1782542
* https://bugs.launchpad.net/kicad/+bug/1782542
This commit is contained in:
Jeff Young 2018-07-19 23:25:58 +01:00
parent c08ef3e8f9
commit 3c1dc9e5c6
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
m_edaText->SetThickness( m_thickness.GetValue() );
m_edaText->SetTextPos( wxPoint( m_posX.GetValue(), m_posY.GetValue() ) );
if( m_modText )
m_modText->SetLocalCoord();
// Test for acceptable values for thickness and size and clamp if fails
int maxthickness = Clamp_Text_PenSize( m_edaText->GetThickness(), m_edaText->GetTextSize() );