Skip to content

Commit

Permalink
Revert "reinstate always_update to index reactive"
Browse files Browse the repository at this point in the history
This reverts commit 68e205e.
  • Loading branch information
TomJGooding committed Oct 28, 2024
1 parent 68e205e commit 336a954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_list_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ListView(VerticalScroll, can_focus=True, can_focus_children=False):
| down | Move the cursor down. |
"""

index = reactive[Optional[int]](None, always_update=True, init=False)
index = reactive[Optional[int]](None, init=False)
"""The index of the currently highlighted item."""

class Highlighted(Message):
Expand Down

0 comments on commit 336a954

Please sign in to comment.