splash_screen: Don't display power on if no power devices

This commit is contained in:
Jordan Ruthe 2021-01-07 01:02:10 -05:00
parent 642fe8a52e
commit 71abc27ad8

View File

@ -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'])