Skip to content

Commit 3a92e68

Browse files
committed
System was rendering white if alarms came in too fast.
1 parent 5afd963 commit 3a92e68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vi/dotlan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ def setStatus(self, newStatus, statusTime = None):
472472
for maxDiff, alarmColor, secondLineColor in self.ALARM_COLORS:
473473
if delta < maxDiff:
474474
self.setBackgroundColor(alarmColor)
475+
break
475476
elif newStatus == states.CLEAR:
476477
self.lastAlarmTime = statusTime
477478
self.setBackgroundColor(self.CLEAR_COLOR)

0 commit comments

Comments
 (0)