|
@@ -67,7 +67,8 @@ class brightness_choose_n_action(common_base):
|
67
|
67
|
if data is True:
|
68
|
68
|
self.set(self.KEY_ACTIVE_DEVICE, self.callback_device_list.index((device, key)))
|
69
|
69
|
else:
|
70
|
|
- self.choose_next_device()
|
|
70
|
+ if self.callback_device_list[self[self.KEY_ACTIVE_DEVICE]][0] == device:
|
|
71
|
+ self.choose_next_device()
|
71
|
72
|
|
72
|
73
|
def choose_prev_device(self, device=None, key=None, data=None):
|
73
|
74
|
if self[self.KEY_ACTIVE_DEVICE] is not None:
|