chiark / gitweb /
Shorten print progress percentage to one decimal place
authornickthetait <tait@alephobjects.com>
Fri, 6 Nov 2015 15:31:16 +0000 (08:31 -0700)
committernickthetait <tait@alephobjects.com>
Fri, 6 Nov 2015 15:31:16 +0000 (08:31 -0700)
Cura/gui/printWindow.py

index 3fe5331c27ae6311e36791f8e65c4133e33e9953..f731929db0ace4ca245c7abc145a3c301ec9636c 100644 (file)
@@ -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()