From a78563c1845906c88f58806c3302ca74060ca7eb Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 16 Feb 2023 11:48:27 +0000 Subject: [PATCH] Ensure adding rows updates update_count --- src/textual/widgets/_data_table.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widgets/_data_table.py b/src/textual/widgets/_data_table.py index e03d67cfec..d846853b05 100644 --- a/src/textual/widgets/_data_table.py +++ b/src/textual/widgets/_data_table.py @@ -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