Fix Macro null reference errors
- Make the Add->Save feature work for Macros
This commit is contained in:
parent
bb5df2b411
commit
5f9899d2f7
3 changed files with 45 additions and 32 deletions
|
|
@ -57,7 +57,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
this.BaseLayer = baseConfig;
|
||||
}
|
||||
|
||||
public List<GCodeMacro> Macros { get; set; }
|
||||
public List<GCodeMacro> Macros { get; set; } = new List<GCodeMacro>();
|
||||
|
||||
[OnDeserialized]
|
||||
internal void OnDeserializedMethod(StreamingContext context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue