Commit cf8c8ffa authored by Alessandro Ranellucci's avatar Alessandro Ranellucci

Rename Restart/Resume buttons back to Print/Pause when a new GCode file was loaded.

parent 8ca085a7
......@@ -649,6 +649,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.f=[i.replace("\n","").replace("\r","") for i in open(name)]
self.filename=name
self.status.SetStatusText("Loaded "+name+", %d lines"%(len(self.f),))
self.printbtn.SetLabel("Print")
self.pausebtn.SetLabel("Pause")
threading.Thread(target=self.loadviz).start()
def loadviz(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment