Merge branch '4.1'

This commit is contained in:
Ghostkeeper 2019-05-01 14:41:36 +02:00
commit b9284e3e83
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -73,5 +73,5 @@ class GlobalStacksModel(ListModel):
"hasRemoteConnection": has_remote_connection,
"metadata": container_stack.getMetaData().copy(),
"discoverySource": section_name})
items.sort(key = lambda i: not i["hasRemoteConnection"])
items.sort(key = lambda i: (not i["hasRemoteConnection"], i["name"]))
self.setItems(items)