From: Oleg Broytman Date: Mon, 15 Jul 2024 15:53:08 +0000 (+0300) Subject: Chore(wx/ListBooks): Rename `search_button` to `dnld_button` X-Git-Tag: 0.4.1~4 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=2202947273910b23aa512425721707548552d5b4;p=m_librarian.git Chore(wx/ListBooks): Rename `search_button` to `dnld_button` [skip ci] --- diff --git a/m_librarian/wx/ListBooks.py b/m_librarian/wx/ListBooks.py index 24d24fc..359bd64 100644 --- a/m_librarian/wx/ListBooks.py +++ b/m_librarian/wx/ListBooks.py @@ -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)