splash_screen: Don't display power on if no power devices
This commit is contained in:
parent
642fe8a52e
commit
71abc27ad8
@ -71,7 +71,6 @@ class SplashScreenPanel(ScreenPanel):
|
||||
self.labels['power'].connect("clicked", self.power_on, devices[0])
|
||||
self.labels['actions'].add(self.labels['power'])
|
||||
|
||||
self.labels['actions'].add(self.labels['power'])
|
||||
self.labels['actions'].add(self.labels['restart'])
|
||||
self.labels['actions'].add(self.labels['firmware_restart'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user