Rename Restart/Resume buttons back to Print/Pause when a new GCode file was loaded.
parent
8ca085a728
commit
cf8c8ffa42
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue