summaryrefslogtreecommitdiff
path: root/gui/qml/VpnState.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/VpnState.qml')
-rw-r--r--gui/qml/VpnState.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/gui/qml/VpnState.qml b/gui/qml/VpnState.qml
index 86239e4..a4bb779 100644
--- a/gui/qml/VpnState.qml
+++ b/gui/qml/VpnState.qml
@@ -24,6 +24,7 @@ StateGroup {
PropertyChanges {
target: vpntoggle
checked: false
+ checkable: true
}
PropertyChanges {
target: statusItem
@@ -65,6 +66,7 @@ StateGroup {
PropertyChanges {
target: vpntoggle
checked: true
+ checkable: true
}
PropertyChanges {
target: statusItem
@@ -122,6 +124,11 @@ StateGroup {
target: mainCurrentGateway
text: ""
}
+ PropertyChanges {
+ target: vpntoggle
+ checked: true
+ checkable: false
+ }
},
State {
name: "stopping"
@@ -147,6 +154,11 @@ StateGroup {
target: mainCurrentGateway
text: ""
}
+ PropertyChanges {
+ target: vpntoggle
+ checked: false
+ checkable: false
+ }
},
State {
name: "failed"
@@ -172,6 +184,11 @@ StateGroup {
target: mainCurrentGateway
text: ""
}
+ PropertyChanges {
+ target: vpntoggle
+ checked: false
+ checkable: true
+ }
}
]
}