diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-06-15 18:18:04 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-06-15 18:18:04 +0300 |
commit | 2adf97ba2d84f771a5d8ec02ea9f7cdec7209c7d (patch) | |
tree | 30f9286e13434f9e59d33060727ed68e069a14a1 | |
parent | e003abf895337c34a7fb2e0090e293af6b7c9429 (diff) |
Also apply the filtering on the quality and user profiles model
CURA-3935
-rw-r--r-- | cura/Settings/QualityAndUserProfilesModel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Settings/QualityAndUserProfilesModel.py b/cura/Settings/QualityAndUserProfilesModel.py index db093126cc..b6ac3fb6d0 100644 --- a/cura/Settings/QualityAndUserProfilesModel.py +++ b/cura/Settings/QualityAndUserProfilesModel.py @@ -40,6 +40,6 @@ class QualityAndUserProfilesModel(ProfilesModel): # Filter the quality_change by the list of available quality_types
quality_type_set = set([x.getMetaDataEntry("quality_type") for x in quality_list])
- filtered_quality_changes = [qc for qc in quality_changes_list if qc.getMetaDataEntry("quality_type") in quality_type_set]
+ filtered_quality_changes = [qc for qc in quality_changes_list if qc.getMetaDataEntry("quality_type") in quality_type_set and qc.getMetaDataEntry("extruder") is None]
return quality_list + filtered_quality_changes
|