|
@@ -1,4 +1,4 @@
|
|
|
-// Copyright (c) 2017 Ultimaker B.V.
|
|
|
+// Copyright (c) 2018 Ultimaker B.V.
|
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
|
|
import QtQuick 2.7
|
|
@@ -63,8 +63,6 @@ Button
|
|
|
|
|
|
property var focusItem: base
|
|
|
|
|
|
- //text: definition.label
|
|
|
-
|
|
|
contentItem: Item {
|
|
|
anchors.fill: parent
|
|
|
anchors.left: parent.left
|
|
@@ -160,7 +158,7 @@ Button
|
|
|
if (definition.expanded) {
|
|
|
settingDefinitionsModel.collapse(definition.key);
|
|
|
} else {
|
|
|
- settingDefinitionsModel.expandAll(definition.key);
|
|
|
+ settingDefinitionsModel.expandRecursive(definition.key);
|
|
|
}
|
|
|
//Set focus so that tab navigation continues from this point on.
|
|
|
//NB: This must be set AFTER collapsing/expanding the category so that the scroll position is correct.
|
|
@@ -237,7 +235,7 @@ Button
|
|
|
|
|
|
onClicked:
|
|
|
{
|
|
|
- settingDefinitionsModel.expandAll(definition.key);
|
|
|
+ settingDefinitionsModel.expandRecursive(definition.key);
|
|
|
base.checked = true;
|
|
|
base.showAllHiddenInheritedSettings(definition.key);
|
|
|
}
|