# HG changeset patch # User Dirk Olmes # Date 1415416442 -3600 # Node ID 405d546410a0ac6d9d25fb8564b7ae7d4b6b7729 # Parent 040dce23204bc4b77523812a8267a951e10cf495 sort the host list alphabetically diff -r 040dce23204b -r 405d546410a0 RemoteViewer/Settings.py --- a/RemoteViewer/Settings.py Wed Oct 08 03:26:23 2014 +0200 +++ b/RemoteViewer/Settings.py Sat Nov 08 04:14:02 2014 +0100 @@ -15,6 +15,7 @@ for connectionJson in rawConnections: connection = Connection.parse(connectionJson) connections.append(connection) + connections.sort(key=lambda c: c.displayString()) return connections def __connections(self):