Sort autocomplete results

This commit is contained in:
Kevin Lange 2017-01-11 19:16:53 +09:00
parent 702a5ed51b
commit 6c404cb50a

View File

@ -1072,7 +1072,7 @@ class ApplicationRunnerWindow(yutani.Window):
self.complete = ""
self.completed = False
return
for b in self.bins:
for b in sorted(self.bins):
if b.startswith(self.data):
self.complete = b[len(self.data):]
self.completed = True