From 338b004ab383fc36106669765f841bb68eeea76d Mon Sep 17 00:00:00 2001 From: thomasv Date: Wed, 27 Feb 2013 12:38:04 +0100 Subject: [PATCH] sort completions --- lib/qt_console.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/qt_console.py b/lib/qt_console.py index af3c485c4..411f151ab 100644 --- a/lib/qt_console.py +++ b/lib/qt_console.py @@ -265,6 +265,7 @@ class Console(QtGui.QPlainTextEdit): xx = prefix + x if xx.startswith(lastword): completions.append(xx) + completions.sort() if not completions: self.hide_completions()