diff --git a/eeschema/dialogs/dialog_edit_line_style.cpp b/eeschema/dialogs/dialog_edit_line_style.cpp index 6da2c96b02..1ece588c75 100644 --- a/eeschema/dialogs/dialog_edit_line_style.cpp +++ b/eeschema/dialogs/dialog_edit_line_style.cpp @@ -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 {