When reverting a user setting be sure to delete it from all of the stacks, global and extruder.

Contributes to CURA-2232 No resolvement strategy for prime_tower_enable and platform adhesion
This commit is contained in:
Simon Edwards 2016-09-13 11:30:33 +02:00
parent f527da2f3c
commit 8086646de1
2 changed files with 14 additions and 2 deletions

View file

@ -179,8 +179,8 @@ Item {
iconSource: UM.Theme.getIcon("reset")
onClicked: {
revertButton.focus = true
propertyProvider.removeFromContainer(0)
revertButton.focus = true;
Cura.MachineManager.clearUserSettingAllCurrentStacks(propertyProvider.key);
}
onEntered: { hoverTimer.stop(); base.showTooltip(catalog.i18nc("@label", "This setting has a value that is different from the profile.\n\nClick to restore the value of the profile.")) }