Fix null reference during startup in public solution
This commit is contained in:
parent
7ce60e7d4c
commit
2b748aa9af
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue