From 27e4922e7c51573e8459dc1eafb940d13c009378 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 18 Feb 2011 09:16:58 -0700 Subject: [PATCH] Fix #9028 (Tag Completion) --- src/calibre/gui2/complete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/complete.py b/src/calibre/gui2/complete.py index c56882ac31..c99cd47373 100644 --- a/src/calibre/gui2/complete.py +++ b/src/calibre/gui2/complete.py @@ -62,7 +62,7 @@ class MultiCompleteLineEdit(QLineEdit, LineEditECM): c.setWidget(self) c.setCompletionMode(QCompleter.PopupCompletion) c.setCaseSensitivity(Qt.CaseInsensitive) - c.setModelSorting(QCompleter.CaseInsensitivelySortedModel) + c.setModelSorting(QCompleter.UnsortedModel) c.setCompletionRole(Qt.DisplayRole) p = c.popup() p.setMouseTracking(True)