Add unsaved changes

This commit is contained in:
John Lewin 2022-09-01 20:52:02 -07:00
parent c8c938f562
commit 4c8d9be66f

View file

@ -63,12 +63,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void Scene_Loaded(object sender, EventArgs e)
{
// Slicing disabled when loaded content is stand-alone GCODE file
if (printer.Bed.EditContext.IsGGCodeSource)
{
this.Enabled = false;
return;
}
this.SetButtonStates();
}
protected override async void OnClick(MouseEventArgs mouseEvent)