mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
CURA-4807 fix not choosing 'not supported' if there are valid options after changing variant; partly undoing 4abbd4b988
This commit is contained in:
parent
51b49c89f4
commit
54698ada7f
2 changed files with 1 additions and 4 deletions
|
@ -87,7 +87,7 @@ class ProfilesModel(InstanceContainersModel):
|
|||
if quality.getMetaDataEntry("quality_type") not in quality_type_set:
|
||||
result.append(quality)
|
||||
|
||||
if len(result) > 1:
|
||||
if len(result) > 1 and self._empty_quality in result:
|
||||
result.remove(self._empty_quality)
|
||||
|
||||
return {item.getId(): item for item in result}, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue