Fix documentation for getAllExtruderSettings

Didn't complete it previously. Oops.

Contributes to issue CURA-2823.
This commit is contained in:
Ghostkeeper 2016-10-31 12:41:29 +01:00
parent 8c25a91e02
commit 9a8a5db06e
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -270,7 +270,10 @@ class ExtruderManager(QObject):
def getAllExtruderValues(self, setting_key):
return self.getAllExtruderSettings(setting_key, "value")
## Gets a
## Gets a property of a setting for all extruders.
#
# \param setting_key The setting to get the property of.
# \param property The property to get.
def getAllExtruderSettings(self, setting_key, property):
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
if global_container_stack.getProperty("machine_extruder_count", "value") <= 1: