aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/RadioButton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-22 14:50:24 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-22 16:52:21 +0000
commit119e43db9747ee070c84fc3ffb4c81ee4db35da8 (patch)
treedbd086267ed443ee86668449fd618a7bf49066a0 /src/imports/controls/material/RadioButton.qml
parent08344012fce59dc50d18778acc9861c5e242ea09 (diff)
Material: add missing focus highlights
Change-Id: Id678a095a56f7494c9f32160326ba667a6c0dc28 Task-number: QTBUG-51257 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/imports/controls/material/RadioButton.qml')
-rw-r--r--src/imports/controls/material/RadioButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/RadioButton.qml b/src/imports/controls/material/RadioButton.qml
index 25d91a5c..f01d2dc9 100644
--- a/src/imports/controls/material/RadioButton.qml
+++ b/src/imports/controls/material/RadioButton.qml
@@ -72,7 +72,7 @@ T.RadioButton {
height: width
control: control
colored: control.checked
- opacity: control.pressed ? 1 : 0
+ opacity: control.pressed || control.activeFocus ? 1 : 0
}
Rectangle {