Fix null reference during startup in public solution

This commit is contained in:
John Lewin 2020-06-26 14:11:30 -07:00
parent 7ce60e7d4c
commit 2b748aa9af

View file

@ -540,7 +540,7 @@ namespace MatterHackers.MatterControl
public Action EnterShareCode { get; set; }
// check permission to an IObject3D class
public Func<IObject3D, bool> UserHasPermission { get; set; }
public Func<IObject3D, bool> UserHasPermission { get; set; } = (item) => false;
// check permission to a purchase
public Func<string, bool> UserHasPermissionToId { get; set; }