From 2202947273910b23aa512425721707548552d5b4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 15 Jul 2024 18:53:08 +0300 Subject: [PATCH] Chore(wx/ListBooks): Rename `search_button` to `dnld_button` [skip ci] --- m_librarian/wx/ListBooks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5