commit
ed20b692ef
|
@ -136,7 +136,6 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
|
||||||
wx.CallAfter(self.printbtn.SetLabel,"Print")
|
wx.CallAfter(self.printbtn.SetLabel,"Print")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def online(self):
|
def online(self):
|
||||||
print "Printer is now online"
|
print "Printer is now online"
|
||||||
wx.CallAfter(self.connectbtn.Disable)
|
wx.CallAfter(self.connectbtn.Disable)
|
||||||
|
@ -1019,7 +1018,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
|
||||||
|
|
||||||
def on_startprint(self):
|
def on_startprint(self):
|
||||||
wx.CallAfter(self.pausebtn.SetLabel, "Pause")
|
wx.CallAfter(self.pausebtn.SetLabel, "Pause")
|
||||||
wx.CallAfter(self.pausebtn.Show)
|
wx.CallAfter(self.pausebtn.Enable)
|
||||||
wx.CallAfter(self.printbtn.SetLabel, "Restart")
|
wx.CallAfter(self.printbtn.SetLabel, "Restart")
|
||||||
|
|
||||||
def endupload(self):
|
def endupload(self):
|
||||||
|
|
Loading…
Reference in New Issue