diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathContextMenu.xaml.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathContextMenu.xaml.cs index 14cbe2c9bb..c6b7c94417 100644 --- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathContextMenu.xaml.cs +++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathContextMenu.xaml.cs @@ -101,7 +101,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions { var sDes = designItem.Services.Component.RegisterComponentForDesigner(s.Clone()); - if (((PathSegment)s).IsStroked) + if (!((PathSegment)s).IsStroked) sDes.Properties[PathSegment.IsStrokedProperty].SetValue(((PathSegment)s).IsStroked); if (((PathSegment)s).IsSmoothJoin) sDes.Properties[PathSegment.IsSmoothJoinProperty].SetValue(((PathSegment)s).IsSmoothJoin);