Init global label's intersheet ref's visibility from schematic settings.

This commit is contained in:
Jeff Young 2022-05-01 18:38:39 +01:00
parent 7ebdb4853c
commit de0bb26c4c
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ SCH_TEXT* SCH_DRAWING_TOOLS::createNewText( const VECTOR2I& aPosition, int aType
case LAYER_GLOBLABEL:
labelItem = new SCH_GLOBALLABEL( aPosition );
labelItem->SetShape( m_lastGlobalLabelShape );
labelItem->GetFields()[0].SetVisible( true );
labelItem->GetFields()[0].SetVisible( settings.m_IntersheetRefsShow );
textItem = labelItem;
break;