diff options
| author | selsta <selsta@sent.at> | 2020-04-24 04:29:44 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2020-04-24 04:35:21 +0200 |
| commit | a810bf3eb79e837fe8930a510cc95e135a564771 (patch) | |
| tree | d3b2eb511b532f3265752f5218727e9678ce1f68 /components/CheckBox.qml | |
| parent | 585fb2810dc0d9b79255b9bd479559b36aa087d8 (diff) | |
| download | monzero-gui-a810bf3eb79e837fe8930a510cc95e135a564771.tar.gz monzero-gui-a810bf3eb79e837fe8930a510cc95e135a564771.tar.xz monzero-gui-a810bf3eb79e837fe8930a510cc95e135a564771.zip | |
CheckBox: add enabled property
Diffstat (limited to 'components/CheckBox.qml')
| -rw-r--r-- | components/CheckBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml index 3925026d..7a1c6179 100644 --- a/components/CheckBox.qml +++ b/components/CheckBox.qml @@ -74,7 +74,7 @@ Item { visible: checkBox.border anchors.fill: parent radius: 3 - color: "transparent" + color: checkBox.enabled ? "transparent" : MoneroComponents.Style.inputBoxBackgroundDisabled border.color: if(checkBox.checked){ return MoneroComponents.Style.inputBorderColorActive; |
