Pressing inheritance button for category now makes all inherited children visible

CURA-2361
This commit is contained in:
Jaime van Kessel 2016-09-16 13:10:14 +02:00
parent 7793cb16d1
commit 132ed1d258
4 changed files with 23 additions and 5 deletions

View file

@ -149,6 +149,14 @@ ScrollView
}
onShowTooltip: base.showTooltip(delegate, { x: 0, y: delegate.height / 2 }, text)
onHideTooltip: base.hideTooltip()
onShowAllHiddenInheritedSettings:
{
var test = Cura.SettingInheritanceManager.getChildrenKeysWithOverride(category_id)
for(var i = 0; i < test.length; i++)
{
definitionsModel.setVisible(test[i], true)
}
}
}
}