Init global label's intersheet ref's visibility from schematic settings.
This commit is contained in:
parent
7ebdb4853c
commit
de0bb26c4c
|
@ -911,7 +911,7 @@ SCH_TEXT* SCH_DRAWING_TOOLS::createNewText( const VECTOR2I& aPosition, int aType
|
||||||
case LAYER_GLOBLABEL:
|
case LAYER_GLOBLABEL:
|
||||||
labelItem = new SCH_GLOBALLABEL( aPosition );
|
labelItem = new SCH_GLOBALLABEL( aPosition );
|
||||||
labelItem->SetShape( m_lastGlobalLabelShape );
|
labelItem->SetShape( m_lastGlobalLabelShape );
|
||||||
labelItem->GetFields()[0].SetVisible( true );
|
labelItem->GetFields()[0].SetVisible( settings.m_IntersheetRefsShow );
|
||||||
textItem = labelItem;
|
textItem = labelItem;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue