Fix typo fetching stroke width.

Fixes https://gitlab.com/kicad/code/kicad/issues/8600
This commit is contained in:
Jeff Young 2021-06-13 20:31:31 +01:00
parent a1a48a4c42
commit a386d44134
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ bool DIALOG_EDIT_LINE_STYLE::TransferDataToWindow()
return r->GetPenWidth() == first_stroke_item->GetPenWidth();
} ) )
{
m_width.SetValue( first_stroke_item->GetPenWidth() );
m_width.SetValue( first_stroke_item->GetStroke().GetWidth() );
}
else
{