chiark / gitweb /
Cleanup print status label text and clear content once done
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Nov 2015 16:36:37 +0000 (11:36 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Nov 2015 16:39:41 +0000 (11:39 -0500)
Cura/gui/printWindow.py

index f731929db0ace4ca245c7abc145a3c301ec9636c..fc9523f93e40f20126784f1cef75bd6750dd474e 100644 (file)
@@ -952,9 +952,10 @@ class printWindowAdvanced(wx.Frame):
                        if total > 0:
                                progress = float(current) / float(total)
                        self.progress.SetValue(progress * 1000)
-                       self.printStatus.SetLabel(_("Printing %.1f%% | Line %d of %d lines | Z: %.3f mm") % (progress * 100, current, total, z))
+                       self.printStatus.SetLabel(_("Printing %.1f%% | Z: %.3f mm") % (progress * 100, z))
                else:
                        self.progress.SetValue(0)
+                       self.printStatus.SetLabel("")
                info = connection.getStatusString()
                info += '\n'
                if self._printerConnection.getTemperature(0) is not None: