From: nickthetait Date: Fri, 6 Nov 2015 15:31:16 +0000 (-0700) Subject: Shorten print progress percentage to one decimal place X-Git-Tag: lulzbot-17.14~11 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9da34d0da4752e6cb86e165bb31a071f9f70bdbf;p=cura.git Shorten print progress percentage to one decimal place --- diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index 3fe5331c..f731929d 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -952,7 +952,7 @@ class printWindowAdvanced(wx.Frame): if total > 0: progress = float(current) / float(total) self.progress.SetValue(progress * 1000) - self.printStatus.SetLabel(_("Printing %.2f%% | Line %d of %d lines | Z: %.3f mm") % (progress * 100, current, total, z)) + self.printStatus.SetLabel(_("Printing %.1f%% | Line %d of %d lines | Z: %.3f mm") % (progress * 100, current, total, z)) else: self.progress.SetValue(0) info = connection.getStatusString()