From 069c9fb9258bb10bc1b66547d7dbec6e8a1296e6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 10 Jun 2008 23:32:30 -0700 Subject: [PATCH] Fix #771 --- src/calibre/gui2/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/library.py b/src/calibre/gui2/library.py index 6acbe54848..1130a141c5 100644 --- a/src/calibre/gui2/library.py +++ b/src/calibre/gui2/library.py @@ -822,7 +822,7 @@ class SearchBox(QLineEdit): QLineEdit.mouseReleaseEvent(self, event) def text_edited_slot(self, text): - text = str(text) + text = qstring_to_unicode(text) if isinstance(text, QString) else unicode(text) self.prev_text = text self.timer = self.startTimer(self.__class__.INTERVAL)