summaryrefslogtreecommitdiff
path: root/gui/components
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-30 23:09:50 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-30 23:09:50 +0100
commit58b15c89c7d4504730278e22b1a77684c2e9e83b (patch)
treefbd2ff76322cf0d8ec3b724c9115f4b68dd028ba /gui/components
parentf08898257dbc46134520ff4cd68308240543325e (diff)
[bug] avoid inconsistent statesosx-fonts
Diffstat (limited to 'gui/components')
-rw-r--r--gui/components/Preferences.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/components/Preferences.qml b/gui/components/Preferences.qml
index 23aae05..546ff8b 100644
--- a/gui/components/Preferences.qml
+++ b/gui/components/Preferences.qml
@@ -248,15 +248,16 @@ ThemedPage {
}
Component.onCompleted: {
- if (ctx && ctx.transport == "obfs4") {
- useBridgesCheckBox.checked = true
- }
if (ctx && ctx.offersUdp == "false") {
useUDP.enabled = false
}
if (ctx && ctx.offersUdp && ctx.udp == "true") {
useUDP.checked = true
}
+ if (ctx && ctx.transport == "obfs4") {
+ useBridgesCheckBox.checked = true
+ useUDP.enabled = false
+ }
// disabled for now, will be on next release
/*
if (ctx && ctx.hasTor == "true") {