From: hg42@gmx.net Date: Mon, 16 Sep 2013 19:44:39 +0000 (+0200) Subject: fix for issue #551 "Print window is crashing in the middle of all prints" X-Git-Tag: 13.10~69^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2b574627e4ea2c90f48bf8f97abbf14422b19d37;p=cura.git fix for issue #551 "Print window is crashing in the middle of all prints" --- diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index c3f637f6..0591649f 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -528,9 +528,10 @@ class printWindow(wx.Frame): self.machineCom.setFeedrateModifier('SUPPORT', self.supportSpeedSelect.GetValue() / 100.0) def AddTermLog(self, line): + self.termLog.SetInsertionPointEnd() self.termLog.AppendText(unicode(line, 'utf-8', 'replace')) - l = len(self.termLog.GetValue()) - self.termLog.SetCaret(wx.Caret(self.termLog, (l, l))) + #l = self.termLog.GetLastPosition() # if needed (windows? mac?) + #self.termLog.ShowPosition(l) def OnTermEnterLine(self, e): line = self.termInput.GetValue()