Fix an ASAN issue in SCH_SHEET
This commit is contained in:
parent
330d717c69
commit
4052b2153a
|
@ -114,6 +114,9 @@ SCH_SHEET::SCH_SHEET( const SCH_SHEET& aSheet ) :
|
||||||
m_pins.back()->SetParent( this );
|
m_pins.back()->SetParent( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for( SCH_FIELD& field : m_fields )
|
||||||
|
field.SetParent( this );
|
||||||
|
|
||||||
m_borderWidth = aSheet.m_borderWidth;
|
m_borderWidth = aSheet.m_borderWidth;
|
||||||
m_borderColor = aSheet.m_borderColor;
|
m_borderColor = aSheet.m_borderColor;
|
||||||
m_backgroundColor = aSheet.m_backgroundColor;
|
m_backgroundColor = aSheet.m_backgroundColor;
|
||||||
|
|
Loading…
Reference in New Issue