mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #315] list.SetChangedFunc is not called after list.SetCurrentItem #239
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SamWhited on GitHub (Jun 25, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/315
The documentation for
List.SetChangedFuncsay:However, this does not appear to be working. For example, if we modify the lists example to output selected items then call
List.SetCurrentItem, nothing happens except that the list item is selected:@rivo commented on GitHub (Jul 11, 2019):
Thanks. (I ended up not using your PR because I haven't set up unit test cases yet. Still on my todo list.)