From 2988b28a8f81c8af6f8d5c3607c9dba6be8ce2a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Feb 2011 16:36:43 -0700 Subject: [PATCH] ... --- src/calibre/gui2/complete.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/complete.py b/src/calibre/gui2/complete.py index 2eb97b128d..226fe8b9c7 100644 --- a/src/calibre/gui2/complete.py +++ b/src/calibre/gui2/complete.py @@ -11,7 +11,7 @@ from PyQt4.Qt import QLineEdit, QAbstractListModel, Qt, \ from calibre.utils.icu import sort_key, lower from calibre.gui2 import NONE -from calibre.gui2.widgets import EnComboBox +from calibre.gui2.widgets import EnComboBox, LineEditECM class CompleteModel(QAbstractListModel): @@ -38,7 +38,7 @@ class CompleteModel(QAbstractListModel): return NONE -class MultiCompleteLineEdit(QLineEdit): +class MultiCompleteLineEdit(QLineEdit, LineEditECM): ''' A line edit that completes on multiple items separated by a separator. Use the :meth:`update_items_cache` to set the list of