Remove unused cancel implementation
This commit is contained in:
parent
92e397fabd
commit
e95803d68e
1 changed files with 0 additions and 9 deletions
|
|
@ -47,7 +47,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
private TextWidget gcodeProcessingStateInfoText;
|
||||
private GCode2DWidget gcode2DWidget;
|
||||
private PrintItemWrapper printItem => ApplicationController.Instance.ActivePrintItem;
|
||||
private bool startedSliceFromGenerateButton = false;
|
||||
|
||||
private ViewControlsToggle viewControlsToggle;
|
||||
|
||||
|
|
@ -334,14 +333,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
parentSystemWindow.KeyDown -= Parent_KeyDown;
|
||||
}
|
||||
|
||||
if (printItem != null)
|
||||
{
|
||||
if (startedSliceFromGenerateButton && printItem.CurrentlySlicing)
|
||||
{
|
||||
SlicingQueue.Instance.CancelCurrentSlicing();
|
||||
}
|
||||
}
|
||||
|
||||
base.OnClosed(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue