From 0f180e8c4bb0645db8f8a9eefaaba461ae48c345 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 10 May 2026 16:27:53 -0400 Subject: [PATCH] fix(gui): fix typo current_cat_tools -> curr_cat_tools in tool preset manager --- src/gui_2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui_2.py b/src/gui_2.py index 87b328a..79d6407 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -1790,11 +1790,11 @@ class App: if tool: curr_cat_tools.remove(tool) imgui.same_line(); if imgui.radio_button(f"Auto##{cat_name}_{tool_name}", mode == "auto"): - if not tool: tool = models.Tool(name=tool_name, approval="auto"); current_cat_tools.append(tool) + if not tool: tool = models.Tool(name=tool_name, approval="auto"); curr_cat_tools.append(tool) else: tool.approval = "auto" imgui.same_line(); if imgui.radio_button(f"Ask##{cat_name}_{tool_name}", mode == "ask"): - if not tool: tool = models.Tool(name=tool_name, approval="ask"); current_cat_tools.append(tool) + if not tool: tool = models.Tool(name=tool_name, approval="ask"); curr_cat_tools.append(tool) else: tool.approval = "ask" imgui.end_table() imgui.tree_pop()