Disable recover button when disconnecting

master
Guillaume Seguin 2012-08-07 13:49:11 +02:00
parent e6448ade53
commit c7c52e1c1d
1 changed files with 1 additions and 0 deletions

View File

@ -1746,6 +1746,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
wx.CallAfter(self.printbtn.Disable);
wx.CallAfter(self.pausebtn.Disable);
wx.CallAfter(self.recoverbtn.Disable);
for i in self.printerControls:
wx.CallAfter(i.Disable)