When editing a label property it always goes to right orientation by itself

Fixes: lp:1661264
https://bugs.launchpad.net/kicad/+bug/1661264
This commit is contained in:
jean-pierre charras 2017-02-02 16:50:49 +01:00
parent 1ab1d8e7e6
commit 7dddb1d1c1
1 changed files with 2 additions and 2 deletions

View File

@ -203,8 +203,8 @@ void DIALOG_LABEL_EDITOR::InitDialog()
textWidth.Append( 'M', MINTEXTWIDTH );
EnsureTextCtrlWidth( m_textLabel, &textWidth );
// Set validators
m_TextOrient->SetSelection( m_CurrentText->GetTextAngle() );
// Set text options:
m_TextOrient->SetSelection( m_CurrentText->GetLabelSpinStyle() );
m_TextShape->SetSelection( m_CurrentText->GetShape() );
int style = 0;