Use sceneContext.SaveChanges instead of Printer.Bed.SaveChanges

- Issue MatterHackers/MCCentral#4462
CTRL-S should not be coupled to Printer
This commit is contained in:
John Lewin 2018-11-01 15:36:28 -07:00
parent d225ac2dd4
commit 624e07803c

View file

@ -1902,7 +1902,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public void Save()
{
ApplicationController.Instance.Tasks.Execute("Saving".Localize(), Printer.Bed.SaveChanges);
ApplicationController.Instance.Tasks.Execute("Saving".Localize(), sceneContext.SaveChanges);
}
}