mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 04:14:15 +02:00
Fix #771
This commit is contained in:
parent
8023b175e3
commit
069c9fb925
1 changed files with 1 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ def mouseReleaseEvent(self, event):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue