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

@ -17,13 +17,11 @@ Button {
signal showTooltip(string text);
signal hideTooltip();
signal contextMenuRequested()
signal showAllHiddenInheritedSettings()
signal showAllHiddenInheritedSettings(string category_id)
text: definition.label
iconSource: UM.Theme.getIcon(definition.icon)
checkable: true
checked: definition.expanded
@ -69,7 +67,7 @@ Button {
onClicked:
{
base.showAllHiddenInheritedSettings()
base.showAllHiddenInheritedSettings(definition.key)
}
color: UM.Theme.getColor("setting_control_button")