Fix #1729497 [Error when clicking Configure in Get books screen](https://bugs.launchpad.net/calibre/+bug/1729497)

This commit is contained in:
Kovid Goyal 2017-11-02 11:28:04 +05:30
parent 53e36ace8f
commit 0d7aebb98e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -663,6 +663,7 @@ def __init__(self, *args):
self.setEditable(True)
self.setInsertPolicy(self.NoInsert)
self.setMaxCount(10)
self.setClearButtonEnabled = self.lineEdit().setClearButtonEnabled
def setPlaceholderText(self, txt):
return self.lineEdit().setPlaceholderText(txt)