Update _data_table.py

This commit is contained in:
Rodrigo Girão Serrão 2023-02-08 13:58:21 +00:00 committed by GitHub
parent d67510e683
commit aae2a8882a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1042,7 +1042,7 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
self._set_hover_cursor(True)
if self.show_cursor and self.cursor_type != "none":
# Only post selection events if there is a visible row/col/cell cursor.
self._post_message_selected_message()
self._post_selected_message()
meta = self.get_style_at(event.x, event.y).meta
if meta:
self.cursor_cell = Coordinate(meta["row"], meta["column"])