mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 00:34:26 +08:00
CURA-4606 CURA-5003 brands sections in materials management page are now case insensitive
This commit is contained in:
parent
b23a85aa37
commit
a8bd57a9eb
@ -287,5 +287,5 @@ class MaterialsModel(ListModel):
|
||||
|
||||
material_list.append(item)
|
||||
|
||||
material_list = sorted(material_list, key = lambda k: (k["brand"], k["name"]))
|
||||
material_list = sorted(material_list, key = lambda k: (k["brand"].lower(), k["name"]))
|
||||
self.setItems(material_list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user