mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2075415 [Ebook-viewer: spaces are lost when showing/retrieving items in/from search history](https://bugs.launchpad.net/calibre/+bug/2075415)
This commit is contained in:
parent
a42eaa8c5e
commit
459bc57ec1
@ -114,7 +114,7 @@ class SearchBox(HistoryComboBox): # {{{
|
|||||||
cleared = pyqtSignal()
|
cleared = pyqtSignal()
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
HistoryComboBox.__init__(self, parent)
|
HistoryComboBox.__init__(self, parent, strip_completion_entries=False)
|
||||||
self.lineEdit().setPlaceholderText(_('Search'))
|
self.lineEdit().setPlaceholderText(_('Search'))
|
||||||
self.lineEdit().setClearButtonEnabled(True)
|
self.lineEdit().setClearButtonEnabled(True)
|
||||||
ac = self.lineEdit().findChild(QAction, QT_HIDDEN_CLEAR_ACTION)
|
ac = self.lineEdit().findChild(QAction, QT_HIDDEN_CLEAR_ACTION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user