mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Typo fix in comment
This commit is contained in:
@@ -1683,7 +1683,7 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
|
|||||||
column_index = meta["column"]
|
column_index = meta["column"]
|
||||||
is_header_click = self.show_header and row_index == -1
|
is_header_click = self.show_header and row_index == -1
|
||||||
if is_header_click:
|
if is_header_click:
|
||||||
# Header clicks work even if cursor is off, and don't move the cursor.
|
# Header clicks work even if cursor is off, and doesn't move the cursor.
|
||||||
column = self.ordered_columns[column_index]
|
column = self.ordered_columns[column_index]
|
||||||
message = DataTable.HeaderSelected(
|
message = DataTable.HeaderSelected(
|
||||||
self, column.key, column_index, label=column.label
|
self, column.key, column_index, label=column.label
|
||||||
|
|||||||
Reference in New Issue
Block a user