From 133fd6061397a9741f3179a65bff40f70682ae4b Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 21 Mar 2026 17:02:28 -0400 Subject: [PATCH] fix(gui): Ensure discussion selection in combo box is immediately reflected in takes tabs --- src/gui_2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui_2.py b/src/gui_2.py index 83e3932..1c73312 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -2330,7 +2330,10 @@ def hello(): imgui.set_item_default_focus() imgui.end_combo() + # Sync variables in case combo selection changed self.active_discussion + active_base = self.active_discussion.split("_take_")[0] current_takes = grouped_discussions.get(active_base, []) + if imgui.begin_tab_bar("discussion_takes_tabs"): for take_name in current_takes: label = "Original" if take_name == active_base else take_name.replace(f"{active_base}_", "").replace("_", " ").title()