support checked buttons

This commit is contained in:
Marco Martin 2014-07-24 18:30:55 +02:00
parent 2e06bb3214
commit 9301163142

View File

@ -148,7 +148,7 @@ QtQuickControlStyle.ButtonStyle {
opacity: 0
}
state: control.pressed ? "pressed" : "normal"
state: control.pressed || control.checked ? "pressed" : "normal"
states: [
State { name: "normal" },