Getting switch extruder pre-gcode to run when needed

refactoring
This commit is contained in:
Lars Brubaker 2019-02-06 10:34:19 -08:00
parent 8eefd9c059
commit 572fdd847a
17 changed files with 74 additions and 51 deletions

View file

@ -82,7 +82,7 @@ namespace MatterHackers.MatterControl.Library
this.Items.Clear();
if (printer.Connection.IsConnected
&& !(printer.Connection.PrinterIsPrinting || printer.Connection.PrinterIsPaused))
&& !(printer.Connection.Printing || printer.Connection.Paused))
{
autoResetEvent = new AutoResetEvent(false);