From f35b0446e69311dcc06c43cd5e8261e5378d5a3b Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Sat, 27 Nov 2021 18:03:20 +0100 Subject: [PATCH] Properly initialize SCH_TEXT spin style --- eeschema/sch_text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_text.cpp b/eeschema/sch_text.cpp index 7e1b78cd66..a03c5b36ef 100644 --- a/eeschema/sch_text.cpp +++ b/eeschema/sch_text.cpp @@ -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 ); }