Merge branch '3.2'

This commit is contained in:
Jack Ha 2018-01-16 16:05:38 +01:00
commit 07f0906b1c
5 changed files with 7 additions and 28 deletions

View file

@ -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.