Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/nuPickers/Picker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ public Picker(int contextId, string propertyAlias, bool usePublishedValue = true
/// <param name="dataTypeId">the dataType id of this picker</param>
/// <param name="propertyEditorAlias">the alias of the dataType</param>
/// <param name="savedValue">the actual value saved</param>
internal Picker(int contextId, int parentId, string propertyAlias, int dataTypeId, string propertyEditorAlias, object savedValue)
internal Picker(int contextId, int? parentId, string propertyAlias, int dataTypeId, string propertyEditorAlias, object savedValue)
{
this.ContextId = contextId;
this.ParentId = parentId;
this.ParentId = (parentId != null) ? (int)parentId : -1;
this.PropertyAlias = propertyAlias;
this.DataTypeId = dataTypeId;
this.PropertyEditorAlias = propertyEditorAlias;
Expand Down