Also show the error log button when we are closed.
This commit is contained in:
parent
dadb8b3eae
commit
ee2492e414
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class printWindow(wx.Frame):
|
||||||
self.temperatureSelect.Enable(self.machineCom != None and self.machineCom.isOperational())
|
self.temperatureSelect.Enable(self.machineCom != None and self.machineCom.isOperational())
|
||||||
self.bedTemperatureSelect.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.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:
|
if self.cam:
|
||||||
for button in self.cam.buttons:
|
for button in self.cam.buttons:
|
||||||
button.Enable(self.machineCom == None or not self.machineCom.isPrinting())
|
button.Enable(self.machineCom == None or not self.machineCom.isPrinting())
|
||||||
|
|
Loading…
Reference in a new issue