Remove unused function

Contributes to issue CURA-340.
This commit is contained in:
Ghostkeeper 2016-06-15 14:36:48 +02:00
parent cb467f488b
commit 7c2c24b8a5
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -74,15 +74,6 @@ class MachineManagerModel(QObject):
def _onOutputDevicesChanged(self):
self.outputDevicesChanged.emit()
@pyqtProperty("QVariantMap", notify = globalContainerChanged)
def extrudersIds(self):
## Find all extruders that reference the new stack
extruders = UM.Settings.ContainerRegistry.getInstance().findContainerStacks(**{"machine": self._global_container_stack.getId()})
result = {}
for extruder in extruders:
result[extruder.getMetaDataEntry("position")] = extruder.getId()
return result
def _onGlobalPropertyChanged(self, key, property_name):
if property_name == "value":
self.globalValueChanged.emit()