chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e1f016
)
Shorten print progress percentage to one decimal place
author
nickthetait
<tait@alephobjects.com>
Fri, 6 Nov 2015 15:31:16 +0000
(08:31 -0700)
committer
nickthetait
<tait@alephobjects.com>
Fri, 6 Nov 2015 15:31:16 +0000
(08:31 -0700)
Cura/gui/printWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/printWindow.py
b/Cura/gui/printWindow.py
index 3fe5331c27ae6311e36791f8e65c4133e33e9953..f731929db0ace4ca245c7abc145a3c301ec9636c 100644
(file)
--- 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 %.
2
f%% | Line %d of %d lines | Z: %.3f mm") % (progress * 100, current, total, z))
+ self.printStatus.SetLabel(_("Printing %.
1
f%% | Line %d of %d lines | Z: %.3f mm") % (progress * 100, current, total, z))
else:
self.progress.SetValue(0)
info = connection.getStatusString()