Reset quality if none was found

CURA-7589
This commit is contained in:
Jaime van Kessel 2020-08-06 17:12:14 +02:00
parent eb17e146bc
commit 724498cba7
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -1212,9 +1212,8 @@ class MachineManager(QObject):
return
if not available_quality_types:
if global_stack.qualityChanges == empty_quality_changes_container:
Logger.log("i", "No available quality types found, setting all qualities to empty (Not Supported).")
self._setEmptyQuality()
Logger.log("i", "No available quality types found, setting all qualities to empty (Not Supported).")
self._setEmptyQuality()
return
if current_quality_type in available_quality_types: