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

master
Alessandro Ranellucci 2011-07-09 15:13:11 +02:00
parent 8ca085a728
commit cf8c8ffa42
1 changed files with 2 additions and 0 deletions

View File

@ -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):