From edd26b673bc6dce2a2d0b95321018c724e338e79 Mon Sep 17 00:00:00 2001 From: Martin Wickham Date: Thu, 13 Nov 2014 20:39:52 -0600 Subject: [PATCH] Prevent unresponsive print window If the default print window is used, and the printer sends a message back to the main process, the receiving thread calls _addTermLog, which was undefined on the printWindowBasic. It has now been defined. --- Cura/gui/printWindow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index dc186647..5f3cb063 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -444,6 +444,9 @@ class printWindowBasic(wx.Frame): info += '\n\n' self.statsText.SetLabel(info) + def _addTermLog(self, msg): + pass + def _updateButtonStates(self): self.connectButton.Show(self._printerConnection.hasActiveConnection()) self.connectButton.Enable(not self._printerConnection.isActiveConnectionOpen() and not self._printerConnection.isActiveConnectionOpening()) -- 2.30.2