mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -131,6 +131,7 @@ class ItemEdit(QWidget):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user