Correct the wording of what the up/down actions do

There's a difference here between select and highlight and I got sloppy with
the wording. This corrects that.
This commit is contained in:
Dave Pearson
2023-02-14 15:25:15 +00:00
parent f92f7786b2
commit 3cd879d2a6

View File

@@ -167,11 +167,11 @@ class ListView(Vertical, can_focus=True, can_focus_children=False):
self.post_message_no_wait(self.Selected(self, selected_child))
def action_cursor_down(self) -> None:
"""Select the next item in the list."""
"""Highlight the next item in the list."""
self.index += 1
def action_cursor_up(self) -> None:
"""Select the previous item in the list."""
"""Highlight the previous item in the list."""
self.index -= 1
def on_list_item__child_clicked(self, event: ListItem._ChildClicked) -> None: