diff --git a/src/ZKEACMS/Controllers/WidgetController.cs b/src/ZKEACMS/Controllers/WidgetController.cs index 2c2242ff..28848253 100644 --- a/src/ZKEACMS/Controllers/WidgetController.cs +++ b/src/ZKEACMS/Controllers/WidgetController.cs @@ -95,11 +95,11 @@ private ActionResult CreateWidgetFromExistingWidget(QueryContext context) WidgetBase widget = widgetPartDriver.GetWidget(widgetBasePart.ToWidgetBase()); if (widget == null) return BadRequest(); - SetDefaultValuesToWidget(context, widget); widget.IsTemplate = false; widget.IsSystem = false; widget.Thumbnail = null; widget.RuleID = null; + SetDefaultValuesToWidget(context, widget); widgetPartDriver.AddWidget(widget); return RedirectToAction("Edit", new { ID = widget.ID, ReturnUrl = context.ReturnUrl }); }