No longer switch away from extruder when disabling

It feels confusing when this happens.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-30 15:42:46 +01:00
parent 1d9a13cac2
commit 18bb403413
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 2 additions and 6 deletions

View file

@ -993,10 +993,6 @@ class MachineManager(QObject):
self.updateNumberExtrudersEnabled()
self.correctExtruderSettings()
# In case this extruder is being disabled and it's the currently selected one, switch to the default extruder
if not enabled and position == ExtruderManager.getInstance().activeExtruderIndex:
ExtruderManager.getInstance().setActiveExtruderIndex(int(self._default_extruder_position))
# ensure that the quality profile is compatible with current combination, or choose a compatible one if available
self._updateQualityWithMaterial()
self.extruderChanged.emit()