From: Martin Wickham Date: Fri, 14 Nov 2014 02:39:52 +0000 (-0600) Subject: Prevent unresponsive print window X-Git-Tag: 14.11-RC8~4^2^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=edd26b673bc6dce2a2d0b95321018c724e338e79;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 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())