mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Pressing inheritance button for category now makes all inherited children visible
CURA-2361
This commit is contained in:
parent
7793cb16d1
commit
132ed1d258
4 changed files with 23 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue