Properly initialize SCH_TEXT spin style

This commit is contained in:
Mikolaj Wielgus 2021-11-27 18:03:20 +01:00
parent 22de7256ae
commit f35b0446e6
1 changed files with 2 additions and 2 deletions

View File

@ -209,12 +209,12 @@ SCH_TEXT::SCH_TEXT( const wxPoint& pos, const wxString& text, KICAD_T aType ) :
EDA_TEXT( text ),
m_shape( PINSHEETLABEL_SHAPE::PS_INPUT ),
m_isDangling( false ),
m_connectionType( CONNECTION_TYPE::NONE ),
m_spin_style( LABEL_SPIN_STYLE::LEFT )
m_connectionType( CONNECTION_TYPE::NONE )
{
m_layer = LAYER_NOTES;
SetTextPos( pos );
SetLabelSpinStyle( LABEL_SPIN_STYLE::LEFT );
SetMultilineAllowed( true );
}