From: Martin Wickham Date: Fri, 14 Nov 2014 02:39:52 +0000 (-0600) Subject: Prevent unresponsive print window X-Git-Tag: lulzbot-14.12~27 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=87a8ee7cc1e63f557536f8d50886aeb967b46a58;p=cura.git 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. --- diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index 199dfc4b..eb2eb250 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -502,6 +502,9 @@ class printWindowBasic(wx.Frame): preventComputerFromSleeping(self._isPrinting) + 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())