From 78427150a48089caa06e71063b84ca7af7584aee Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 8 Jul 2024 16:25:23 +0300 Subject: [PATCH] Fix(wx): Fix `ListBooks`: Fix row count [skip ci] --- m_librarian/wx/ListBooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m_librarian/wx/ListBooks.py b/m_librarian/wx/ListBooks.py index 0ef918e..aa5637a 100644 --- a/m_librarian/wx/ListBooks.py +++ b/m_librarian/wx/ListBooks.py @@ -16,7 +16,7 @@ class BooksDataTable(wx.grid.GridTableBase): self.rows_count = rows_count self.column_names = column_names self.data = [] - for row in range(rows_count + 1): + for row in range(rows_count + 2): row_data = [] self.data.append(row_data) for col in range(len(column_names)): -- 2.39.5