mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
CURA-4451 Minor changes
This commit is contained in:
parent
524ace9b04
commit
b9c318d432
3 changed files with 2 additions and 10 deletions
|
@ -166,7 +166,7 @@ class ProfilesModel(InstanceContainersModel):
|
|||
for item in containers:
|
||||
profile = container_registry.findContainers(id = item["id"])
|
||||
|
||||
# when the profile is not supported
|
||||
# When for some reason there is no profile container in the registry
|
||||
if not profile:
|
||||
self._setItemLayerHeight(item, "", "")
|
||||
item["available"] = False
|
||||
|
@ -175,7 +175,7 @@ class ProfilesModel(InstanceContainersModel):
|
|||
|
||||
profile = profile[0]
|
||||
|
||||
# empty qualities should show in the list (they are "Not Supported" profiles)
|
||||
# When there is a profile but it's an empty quality should. It's shown in the list (they are "Not Supported" profiles)
|
||||
if profile.getId() == "empty_quality":
|
||||
self._setItemLayerHeight(item, "", "")
|
||||
item["available"] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue