Init intersheet refs props when converting to global label.
Fixes https://gitlab.com/kicad/code/kicad/issues/7252
This commit is contained in:
parent
09eb4b35c6
commit
f6b7817044
|
@ -1634,6 +1634,9 @@ int SCH_EDIT_TOOL::ChangeTextType( const TOOL_EVENT& aEvent )
|
|||
|
||||
m_frame->RemoveFromScreen( text, m_frame->GetScreen() );
|
||||
m_frame->AddToScreen( newtext, m_frame->GetScreen() );
|
||||
|
||||
if( convertTo == SCH_GLOBAL_LABEL_T )
|
||||
static_cast<SCH_GLOBALLABEL*>( newtext )->UpdateIntersheetRefProps();
|
||||
}
|
||||
|
||||
if( selected )
|
||||
|
|
Loading…
Reference in New Issue