aboutsummaryrefslogtreecommitdiffstats
path: root/sb_builder/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'sb_builder/results.py')
-rw-r--r--sb_builder/results.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sb_builder/results.py b/sb_builder/results.py
index 21fdcc3..3c9df82 100644
--- a/sb_builder/results.py
+++ b/sb_builder/results.py
@@ -26,8 +26,7 @@ from PyQt6.QtWidgets import (QDialog, QHBoxLayout, QLabel, QPlainTextEdit, QSpli
from .dashboard import STATUS
from .fmt import NA, fmt_time
-from .packages import chip
-from .ui import SP, action, enable
+from .ui import SP, action, chip, enable, group_label
KINDS = ("ok", "failed", "bad", "aborted", "removed")
ANSI = re.compile(r"\x1b\[[0-9;?]*[A-Za-z]")
@@ -68,8 +67,9 @@ class ResultsTab(QWidget):
self.remote = remote
self.rows = []
self.viewers = []
- self.chips = {k: chip(k) for k in KINDS}
+ self.chips = {k: chip(k, STATUS.get(k)) for k in KINDS}
bar = QHBoxLayout()
+ bar.addWidget(group_label("result"))
for c in self.chips.values():
c.toggled.connect(self.refilter)
bar.addWidget(c)