From 76be3140fe73a3cb4bb77abc3c322ac3f5d2aacf Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 3 Jan 2019 18:02:52 -0800 Subject: [PATCH] Change AnyPrintTaskRunning to be true while PreparingToPrint - Issue MatterHackers/MCCentral#4789 Do not allow sign in/out while printing --- MatterControlLib/ApplicationView/ApplicationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index da216a282..30f10fc82 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -2195,7 +2195,7 @@ namespace MatterHackers.MatterControl /// /// Indicates if any ActivePrinter is running a print task, either in paused or printing states /// - public bool AnyPrintTaskRunning => this.ActivePrinters.Any(p => p.Connection.PrinterIsPrinting || p.Connection.PrinterIsPaused); + public bool AnyPrintTaskRunning => this.ActivePrinters.Any(p => p.Connection.PrinterIsPrinting || p.Connection.PrinterIsPaused || p.Connection.CommunicationState == CommunicationStates.PreparingToPrint); private List _productTour;