fix(gui): fix imgui.selectable() signature mismatch in _render_history_window

selectable() now requires p_selected bool arg, not just label.
Changed to use _, selected = imgui.selectable(label, False) pattern.
This commit is contained in:
2026-05-10 16:25:16 -04:00
parent 45a3664f85
commit eea7f90607
+2 -1
View File
@@ -760,7 +760,8 @@ class App:
ts_str = datetime.datetime.fromtimestamp(ts).strftime("%H:%M:%S") ts_str = datetime.datetime.fromtimestamp(ts).strftime("%H:%M:%S")
label = f"[{ts_str}] {desc}##{actual_idx}" label = f"[{ts_str}] {desc}##{actual_idx}"
if imgui.selectable(label)[0]: _, selected = imgui.selectable(label, False)
if selected:
self._handle_jump_to_history(actual_idx) self._handle_jump_to_history(actual_idx)
imgui.end_child() imgui.end_child()
imgui.end() imgui.end()