Fix typo fetching stroke width.
Fixes https://gitlab.com/kicad/code/kicad/issues/8600
This commit is contained in:
parent
a1a48a4c42
commit
a386d44134
|
@ -88,7 +88,7 @@ bool DIALOG_EDIT_LINE_STYLE::TransferDataToWindow()
|
||||||
return r->GetPenWidth() == first_stroke_item->GetPenWidth();
|
return r->GetPenWidth() == first_stroke_item->GetPenWidth();
|
||||||
} ) )
|
} ) )
|
||||||
{
|
{
|
||||||
m_width.SetValue( first_stroke_item->GetPenWidth() );
|
m_width.SetValue( first_stroke_item->GetStroke().GetWidth() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue