mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Edit book: Fix the next/previous buttons in the Text search tool not working
This commit is contained in:
parent
5ee36ba214
commit
764ce83290
@ -115,6 +115,7 @@ class TextSearch(QWidget):
|
||||
b.setIcon(QIcon.ic('arrow-down.png')), b.setText(_('&Next'))
|
||||
b.setToolTip(_('Find next match'))
|
||||
h.addWidget(b)
|
||||
connect_lambda(b.clicked, self, lambda self: self.do_search())
|
||||
self.prev_button = b = QToolButton(self)
|
||||
b.setIcon(QIcon.ic('arrow-up.png')), b.setText(_('&Previous'))
|
||||
b.setToolTip(_('Find previous match'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user