Skip to content

Commit

Permalink
Ensure adding rows updates update_count
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Feb 16, 2023
1 parent d34593d commit a78563c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/textual/widgets/_data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,7 @@ def add_row(
if cell_now_available and visible_cursor:
self._highlight_cursor()

self._update_count += 1
self.check_idle()
return row_key

Expand Down

0 comments on commit a78563c

Please sign in to comment.