Selecting a thread no longer highlights its source card

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
tachyonwolf 2026-11-21 08:56:30 -06:00
parent 0a72c2b12c
commit f87aa00795

View file

@ -107,8 +107,10 @@ func clear() -> void:
func _mark_cards() -> void:
if main == null:
return
var tid := str(selection.get("tid", ""))
var eid := str(selection.get("eid", "")) if str(selection.get("kind", "")) == "result" else ""
var kind := str(selection.get("kind", ""))
# A selected thread is the selection itself; its source card is not.
var tid := str(selection.get("tid", "")) if kind != "pipe" else ""
var eid := str(selection.get("eid", "")) if kind == "result" else ""
for c in main.cards.values():
var card := c as TableCard
if card and card.has_method("set_selected_entry"):