From 1469ecac3a11a012d3d1bf8c54e79719cc7cdc85 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 5 Jun 2026 13:19:48 -0400 Subject: [PATCH] fix(gui_2): call DIR_COLORS/KIND_COLORS entries - they're callable functions --- src/gui_2.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui_2.py b/src/gui_2.py index 3fb6dee1..f2a5ec45 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -3702,10 +3702,10 @@ def render_comms_history_panel(app: App) -> None: imgui.same_line() imgui.text_colored(theme.get_color("status_error"), f"[{ticket_id}]") imgui.same_line() - d_col = DIR_COLORS.get(direction, C_VAL()) - imgui.text_colored(d_col, direction); imgui.same_line() - k_col = KIND_COLORS.get(kind, C_VAL()) - imgui.text_colored(k_col, kind); imgui.same_line() + d_col_fn = DIR_COLORS.get(direction, C_VAL) + imgui.text_colored(d_col_fn(), direction); imgui.same_line() + k_col_fn = KIND_COLORS.get(kind, C_VAL) + imgui.text_colored(k_col_fn(), kind); imgui.same_line() imgui.text_colored(C_LBL(), f"{provider}/{model}"); imgui.same_line() imgui.text_colored(C_SUB(), f"[{tier}]")