diff --git a/MatterControlLib/PrinterCommunication/PrinterConnection.cs b/MatterControlLib/PrinterCommunication/PrinterConnection.cs index 5e88747d8..bc002a088 100644 --- a/MatterControlLib/PrinterCommunication/PrinterConnection.cs +++ b/MatterControlLib/PrinterCommunication/PrinterConnection.cs @@ -91,6 +91,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication /// public class PrinterConnection : IDisposable { + public static event EventHandler AnyCommunicationStateChanged; + public event EventHandler Disposed; public event EventHandler TemporarilyHoldingTemp; @@ -595,6 +597,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication communicationState = value; CommunicationStateChanged?.Invoke(this, null); + AnyCommunicationStateChanged?.Invoke(this, null); } } }