From: Oleg Broytman Date: Mon, 8 Jul 2024 13:25:23 +0000 (+0300) Subject: Fix(wx): Fix `ListBooks`: Fix row count X-Git-Tag: 0.4.0~6 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=78427150a48089caa06e71063b84ca7af7584aee;p=m_librarian.git Fix(wx): Fix `ListBooks`: Fix row count [skip ci] --- 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)):