Make sure to initialize cell start location.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17379
This commit is contained in:
@@ -85,7 +85,8 @@ SCH_TABLECELL* SCH_EDIT_TABLE_TOOL::copyCell( SCH_TABLECELL* aSource )
|
||||
{
|
||||
SCH_TABLECELL* cell = new SCH_TABLECELL();
|
||||
|
||||
cell->SetEnd( aSource->GetEnd() - aSource->GetStart() );
|
||||
cell->SetStart( aSource->GetStart() );
|
||||
cell->SetEnd( aSource->GetEnd() );
|
||||
cell->SetFillMode( aSource->GetFillMode() );
|
||||
cell->SetFillColor( aSource->GetFillColor() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user