diff options
| -rw-r--r-- | src/controls/GroupBox.qml | 1 | ||||
| -rw-r--r-- | src/styles/Desktop/GroupBoxStyle.qml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/controls/GroupBox.qml b/src/controls/GroupBox.qml index 5fe37c9ea..75da57e56 100644 --- a/src/controls/GroupBox.qml +++ b/src/controls/GroupBox.qml @@ -172,6 +172,7 @@ Item { CheckBox { id: check checked: true + text: groupbox.title visible: checkable anchors.top: parent.top anchors.left: parent.left diff --git a/src/styles/Desktop/GroupBoxStyle.qml b/src/styles/Desktop/GroupBoxStyle.qml index 06e0ad6ee..281daf984 100644 --- a/src/styles/Desktop/GroupBoxStyle.qml +++ b/src/styles/Desktop/GroupBoxStyle.qml @@ -44,7 +44,7 @@ import QtQuick.Controls.Private 1.0 StyleItem { id: styleitem elementType: "groupbox" - text: control.title + text: control.checkable? "" : control.title on: control.checked hasFocus: control.activeFocus activeControl: checkable ? "checkbox" : "" |
