Fix: Flat model and reset all rotation did not work

CURA-5039
This commit is contained in:
Aleksei S 2018-03-05 10:42:09 +01:00
parent d79a9f6449
commit 6781627672
2 changed files with 3 additions and 3 deletions

View file

@ -32,11 +32,11 @@ UM.TooltipArea
if(checked)
{
addedSettingsModel.setVisible(model.key, checked);
UM.ActiveTool.triggerAction("subscribeForSettingValidation", model.key)
UM.ActiveTool.triggerActionWithData("subscribeForSettingValidation", model.key)
}
else
{
UM.ActiveTool.triggerAction("unsubscribeForSettingValidation", model.key)
UM.ActiveTool.triggerActionWithData("unsubscribeForSettingValidation", model.key)
addedSettingsModel.setVisible(model.key, checked);
}
UM.ActiveTool.forceUpdate();