Make the macro controls rebuild when macros change

Make macros save when changed
This commit is contained in:
Lars Brubaker 2018-02-07 14:37:47 -08:00
parent d15112a0ae
commit 456bc3d534
4 changed files with 42 additions and 23 deletions

View file

@ -123,6 +123,7 @@ namespace MatterHackers.MatterControl
if (!printerSettings.Macros.Contains(gcodeMacro))
{
printerSettings.Macros.Add(gcodeMacro);
printerSettings.Save();
}
this.WizardWindow.ChangeToPage(new MacroListPage(printerSettings));