Fix the demo mode button in the connecting view

This commit is contained in:
Michael Zanetti 2019-04-01 10:47:57 +02:00
parent 1cbb942510
commit 2c54ce4462

View File

@ -249,7 +249,7 @@ Page {
visible: discovery.nymeaHosts.count === 0
text: qsTr("Demo mode (online)")
onClicked: {
var host = nymeaHosts.createWanHost("Demo server", "nymea://nymea.nymea.io:2222")
var host = discovery.nymeaHosts.createWanHost("Demo server", "nymea://nymea.nymea.io:2222")
engine.connection.connect(host)
}
}