summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-04-10 12:02:08 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-04-10 14:54:26 +0000
commitca406d69544e6ddf20d940d903c9c97bca07ff90 (patch)
treec0b7567fc0c3be37851a75224152c9dabd49be9b
parent99b2fbbc90466c79837c7e68ac5d7a15b2f91699 (diff)
Material: fix RadioIndicator disabled statev5.11.0-beta4
Task-number: QTBUG-67574 Change-Id: I3ab706c3eb6ad3112ed3f0a7dc37d530a179be6f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/imports/controls/material/RadioIndicator.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/material/RadioIndicator.qml b/src/imports/controls/material/RadioIndicator.qml
index 0f6dc930..7f27dcdc 100644
--- a/src/imports/controls/material/RadioIndicator.qml
+++ b/src/imports/controls/material/RadioIndicator.qml
@@ -43,8 +43,8 @@ Rectangle {
implicitHeight: 20
radius: width / 2
border.width: 2
- border.color: control.enabled && (control.checked || control.down)
- ? control.Material.accentColor : control.Material.secondaryTextColor
+ border.color: !control.enabled ? control.Material.hintTextColor
+ : control.checked || control.down ? control.Material.accentColor : control.Material.secondaryTextColor
color: "transparent"
property Item control