]> git.phdru.name Git - m_librarian.git/commitdiff
Fix(wx): Fix `ListBooks`: Fix row count
authorOleg Broytman <phd@phdru.name>
Mon, 8 Jul 2024 13:25:23 +0000 (16:25 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 8 Jul 2024 13:25:23 +0000 (16:25 +0300)
[skip ci]

m_librarian/wx/ListBooks.py

index 0ef918e7f3b2610d10fe1ab8dcc4f2953613aabc..aa5637a798964fee73e09615aba43acb424073e8 100644 (file)
@@ -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)):