summaryrefslogtreecommitdiff
path: root/gui/qml/VpnState.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-07-09 20:29:45 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-12 19:47:49 +0200
commit26092db4ca2ad9972c5c275d1fcfb262ac7573ac (patch)
treea9b64d3b3c95f024ab27afbceebe1496615d1036 /gui/qml/VpnState.qml
parent0d1d4116eb283a684b93bd432cb1f3b8331b2d4d (diff)
[ui] give feedback about gateway selection
-Resolves: #524
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
+ }
}
]
}