chiark / gitweb /
fix for issue #551 "Print window is crashing in the middle of all prints"
[cura.git] / Cura / gui / printWindow.py
index c3f637f6b5dcf5c7279df5f2d597487158ba1618..0591649fbac104797e6d34ce5c1bdbce203d5b89 100644 (file)
@@ -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()