Putting in a macro cancel button.

This commit is contained in:
Lars Brubaker 2017-02-01 17:49:26 -08:00
parent 23b1ced1ea
commit 4c8971f4a7
5 changed files with 44 additions and 3 deletions

View file

@ -159,6 +159,11 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
waitingForUserInput = false;
}
public void Cancel()
{
Reset();
}
public void Continue()
{
waitingForUserInput = false;

View file

@ -2964,6 +2964,11 @@ namespace MatterHackers.MatterControl.PrinterCommunication
queuedCommandStream2?.Reset();
}
public void MacroCancel()
{
queuedCommandStream2?.Cancel();
}
public void MacroContinue()
{
queuedCommandStream2?.Continue();