Skip to content

Commit 1ab6f20

Browse files
committed
ledmatrix_control: Prevent time display with more devs
It doesn't work with more than one device. Because it's script controlled. Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 0a4dce4 commit 1ab6f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledmatrix_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def gui(devices):
12331233
thread = threading.Thread(target=random_eq, args=(dev,), daemon=True)
12341234
thread.start()
12351235
else:
1236-
if event in ['-START-COUNTDOWN-', '-PLAY-SNAKE-', '-RANDOM-EQ-']:
1236+
if event in ['-START-COUNTDOWN-', '-PLAY-SNAKE-', '-RANDOM-EQ-', '-START-TIME-']:
12371237
sg.Popup('Select exactly 1 device for this action')
12381238
if event in ['-STOP-COUNTDOWN-', '-STOP-EQ-', '-STOP-TIME-']:
12391239
STOP_THREAD = True

0 commit comments

Comments
 (0)