chore(conductor): Mark track 'Fix GUI Crashes in Tool Preset Manager and Discussion Hub' as complete after Phase 4
This commit is contained in:
+6
-3
@@ -3905,9 +3905,12 @@ def render_discussion_selector(app: App) -> None:
|
||||
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()
|
||||
flags = imgui.TabItemFlags_.set_selected if take_name == app.active_discussion else 0
|
||||
with imscope.tab_item(f"{label}###{take_name}", flags) as (exp, _):
|
||||
if exp and take_name != app.active_discussion: app._switch_discussion(take_name)
|
||||
force_flag = imgui.TabItemFlags_.set_selected if take_name == app.active_discussion and getattr(app, '_force_tab_selection', False) else 0
|
||||
with imscope.tab_item(f"{label}###{take_name}", force_flag) as (exp, _):
|
||||
if exp and take_name != app.active_discussion:
|
||||
app._switch_discussion(take_name)
|
||||
app._force_tab_selection = False
|
||||
app._force_tab_selection = False
|
||||
with imscope.tab_item("Synthesis###Synthesis") as (exp, _):
|
||||
if exp: render_synthesis_panel(app)
|
||||
imgui.end_tab_bar()
|
||||
|
||||
Reference in New Issue
Block a user