Restore active extruder after forcing an update of the global extruder stack

This commit is contained in:
fieldOfView 2017-04-15 20:09:20 +02:00
parent 6e0221636d
commit 94545ec4ee

View file

@ -671,7 +671,12 @@ Cura.MachineAction
propertyProvider.setPropertyValue("value", text);
if(forceUpdateOnChange)
{
var extruderIndex = ExtruderManager.activeExtruderIndex;
manager.forceUpdate();
if(ExtruderManager.activeExtruderIndex != extruderIndex)
{
ExtruderManager.setActiveExtruderIndex(extruderIndex)
}
}
}
}