Merge PR #846: Fix the tunnel proxy configuration sometimes getting lost on sync
commit
ae34e3d4ce
|
|
@ -345,6 +345,7 @@ Item {
|
|||
Connections {
|
||||
target: engine.nymeaConfiguration
|
||||
onFetchingDataChanged: {
|
||||
print("fetching NymeaConfigration:", engine.nymeaConfiguration.fetchingData)
|
||||
if (!engine.nymeaConfiguration.fetchingData) {
|
||||
syncRemoteConnection()
|
||||
}
|
||||
|
|
@ -352,7 +353,12 @@ Item {
|
|||
}
|
||||
Connections {
|
||||
target: engine.nymeaConfiguration.tunnelProxyServerConfigurations
|
||||
onCountChanged: syncRemoteConnection();
|
||||
onCountChanged: {
|
||||
print("tunnel proxy count changed:", engine.nymeaConfiguration.tunnelProxyServerConfigurations.count)
|
||||
if (!engine.nymeaConfiguration.fetchingData) {
|
||||
syncRemoteConnection();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function syncRemoteConnection() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue