mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:23:25 +02:00
Fix #1913888 [[Enhancement] Provide default button for search in TOC Edit](https://bugs.launchpad.net/calibre/+bug/1913888)
This commit is contained in:
parent
985f9be4c9
commit
787a2d55fd
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ def __init__(self, parent, prefs=None):
|
|||
|
||||
self.search_text = s = QLineEdit(self)
|
||||
s.setPlaceholderText(_('Search for text...'))
|
||||
s.returnPressed.connect(self.find_next)
|
||||
l.addWidget(s, 1, 0)
|
||||
self.ns_button = b = QPushButton(QIcon(I('arrow-down.png')), _('Find &next'), self)
|
||||
b.clicked.connect(self.find_next)
|
||||
|
|
|
|||
Loading…
Reference in a new issue