]> git.phdru.name Git - m_librarian.git/commitdiff
Chore(wx/ListBooks): Rename `search_button` to `dnld_button`
authorOleg Broytman <phd@phdru.name>
Mon, 15 Jul 2024 15:53:08 +0000 (18:53 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2024 08:06:28 +0000 (11:06 +0300)
[skip ci]

m_librarian/wx/ListBooks.py

index 24d24fc9fc5441a1d3758b9a7b07ac9479b5c7f7..359bd64b1987c16833a9a76fbb0cbe598f2055ac 100644 (file)
@@ -156,9 +156,9 @@ class ListBooksPanel(GridPanel):
         grid.AutoSizeRows()
         grid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnClick)
 
-        search_button = wx.Button(self, label=u'Скачать')
-        self.GetSizer().Add(search_button, 0, wx.ALIGN_CENTER, 0)
-        search_button.Bind(wx.EVT_BUTTON, self.Download)
+        dnld_button = wx.Button(self, label=u'Скачать')
+        self.GetSizer().Add(dnld_button, 0, wx.ALIGN_CENTER, 0)
+        dnld_button.Bind(wx.EVT_BUTTON, self.Download)
 
     def toggleCB(self, row):
         value = self.grid.GetCellValue(row, 0)