Make sure to initialize cell start location.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17379
This commit is contained in:
Jeff Young
2024-03-10 21:49:54 +00:00
parent c8d897ed0f
commit fbc433deaa
3 changed files with 34 additions and 2 deletions
+2 -1
View File
@@ -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() );