From 336a954eea7c69b4e39caf18987bb7e326b8e986 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:44:49 +0000 Subject: [PATCH] Revert "reinstate always_update to index reactive" This reverts commit 68e205ee4f8dad0d543752340eacbb8cd92b2033. --- src/textual/widgets/_list_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_list_view.py b/src/textual/widgets/_list_view.py index fc58927085..afe0620156 100644 --- a/src/textual/widgets/_list_view.py +++ b/src/textual/widgets/_list_view.py @@ -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):