CURA-4972 Allow reslice after setting is removed

The issue Andreea found was caused by the fact that the object was unsubscribed from setting validation while still having the illegal value, because the setting (and its illegal value) was removed AFTER unsubscribing. Thus the illegal value got "saved" until the next time you added that setting and set the correct value.
This commit is contained in:
Ian Paschal 2018-02-27 16:05:07 +01:00
parent c47045a42e
commit 62e7cb9a2d

View file

@ -241,8 +241,8 @@ Item {
height: UM.Theme.getSize("setting").height
onClicked: {
UM.ActiveTool.triggerAction("unsubscribeForSettingValidation", model.key)
addedSettingsModel.setVisible(model.key, false)
UM.ActiveTool.triggerAction("unsubscribeForSettingValidation", model.key)
}
style: ButtonStyle