Also show the error log button when we are closed.

master
Daid 2012-10-28 11:23:21 +01:00
parent dadb8b3eae
commit ee2492e414
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ class printWindow(wx.Frame):
self.temperatureSelect.Enable(self.machineCom != None and self.machineCom.isOperational())
self.bedTemperatureSelect.Enable(self.machineCom != None and self.machineCom.isOperational())
self.directControlPanel.Enable(self.machineCom != None and self.machineCom.isOperational() and not self.machineCom.isPrinting())
self.machineLogButton.Show(self.machineCom != None and self.machineCom.isError())
self.machineLogButton.Show(self.machineCom != None and self.machineCom.isClosedOrError())
if self.cam:
for button in self.cam.buttons:
button.Enable(self.machineCom == None or not self.machineCom.isPrinting())