Fix #1703207 [Editing Custom search URL in Look and Feel](https://bugs.launchpad.net/calibre/+bug/1703207)

This commit is contained in:
Kovid Goyal 2017-07-09 22:05:43 +05:30
parent 6ea26cc885
commit 29f11b490e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -74,6 +74,7 @@ class DefaultAuthorLink(QWidget): # {{{
c.addItem(text, data) c.addItem(text, data)
l.addRow(_('Clicking on &author names should:'), c) l.addRow(_('Clicking on &author names should:'), c)
self.custom_url = u = QLineEdit(self) self.custom_url = u = QLineEdit(self)
u.textChanged.connect(self.changed_signal)
u.setPlaceholderText(_('Enter the URL')) u.setPlaceholderText(_('Enter the URL'))
c.currentIndexChanged.connect(self.current_changed) c.currentIndexChanged.connect(self.current_changed)
l.addRow(u) l.addRow(u)