summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-06-01 11:44:11 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-06-01 12:34:10 +0200
commitc2a582fa4915b1a820bcc5e5bc589cd9ac2e2d19 (patch)
tree170ff0fc8adc845ee219d84e0bf4fbe5b4f83a5f /gui
parent330d11725884d301215e170a5c41e50f691109d7 (diff)
[feat] restrict locations to selected transport
Diffstat (limited to 'gui')
-rw-r--r--gui/qml/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index daffda2..3d83b31 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -181,6 +181,7 @@ ApplicationWindow {
ctx = JSON.parse(jsonModel.getJson())
// TODO pass QML_DEBUG variable to be hyper-verbose
//console.debug(jsonModel.getJson())
+
gwSelector.model = Object.keys(ctx.locations)
if (ctx.donateDialog == 'true') {