aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/CheckBox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-25 20:00:56 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-25 20:00:56 +0100
commitee6c83db18e65e4eec7b7280213b780576b24c03 (patch)
treecaf049a79f3187962059c7f73181b22b71dc1632 /src/imports/controls/material/CheckBox.qml
parent718f6def0b2c4d84bdc8ebdc9633697885747feb (diff)
parentdb5780507733ef803e963dcef0b5260c4b94acfa (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: src/templates/qquickrangeslider_p.h Change-Id: Ibe8ec18a7e22080f69f316d0394af1d03517ce93
Diffstat (limited to 'src/imports/controls/material/CheckBox.qml')
-rw-r--r--src/imports/controls/material/CheckBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/CheckBox.qml b/src/imports/controls/material/CheckBox.qml
index abaf571d..fd6ef256 100644
--- a/src/imports/controls/material/CheckBox.qml
+++ b/src/imports/controls/material/CheckBox.qml
@@ -86,7 +86,7 @@ T.CheckBox {
height: width
control: control
colored: control.checked
- opacity: control.pressed ? 1 : 0
+ opacity: control.pressed || control.activeFocus ? 1 : 0
}
// TODO: This needs to be transparent