Ensure valid default value
- Issue MatterHackers/MCCentral#5644 NullReferenceException: Object reference not set to an instance of an object.
This commit is contained in:
parent
531a2a60c6
commit
feaffd28b5
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public Color PrinterBedTextColor { get; set; }
|
||||
|
||||
public GridColors BedGridColors { get; set; }
|
||||
public GridColors BedGridColors { get; set; } = new GridColors();
|
||||
|
||||
public GuiWidget CreateSearchButton()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue