mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 14:36:35 +01:00
Another unicode bug.
This commit is contained in:
parent
a72cc18eba
commit
a202e27a58
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ def text_edited_slot(self, text):
|
|||
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…
Reference in a new issue