Browse Source

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.
Ian Paschal 7 years ago
parent
commit
62e7cb9a2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml

+ 1 - 1
plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml

@@ -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