Ensure valid default value

- Issue MatterHackers/MCCentral#5644
NullReferenceException: Object reference not set to an instance of
an object.
This commit is contained in:
jlewin 2019-06-06 13:28:10 -07:00
parent 531a2a60c6
commit feaffd28b5

View file

@ -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()
{