Fix profile manager to support not supported custom profiles

CURA-4796

Profile manager should be able to show custom profiles that are based on
the not supported profile correctly.
This commit is contained in:
Lipu Fei 2018-01-15 14:22:28 +01:00
parent 1d104f367d
commit a3c2635648
4 changed files with 70 additions and 60 deletions

View file

@ -45,4 +45,4 @@ class QualityAndUserProfilesModel(ProfilesModel):
for q in quality_list:
if q.getId() != "empty_quality":
result[q.getId()] = q
return result, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.
return result, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.