mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Another unicode bug.
This commit is contained in:
parent
a72cc18eba
commit
a202e27a58
@ -693,7 +693,7 @@ class SearchBox(QLineEdit):
|
||||
def timerEvent(self, event):
|
||||
self.killTimer(event.timerId())
|
||||
if event.timerId() == self.timer:
|
||||
text = str(self.text())
|
||||
text = qstring_to_unicode(self.text())
|
||||
refinement = text.startswith(self.prev_search)
|
||||
self.prev_search = text
|
||||
self.emit(SIGNAL('search(PyQt_PyObject, PyQt_PyObject)'), text, refinement)
|
Loading…
x
Reference in New Issue
Block a user