also fix cancel button for auto-connects
This commit is contained in:
parent
cf13898ecb
commit
d743d01c20
@ -28,6 +28,8 @@ Page {
|
|||||||
var page = pageStack.push(Qt.resolvedUrl("ConnectingPage.qml"))
|
var page = pageStack.push(Qt.resolvedUrl("ConnectingPage.qml"))
|
||||||
page.cancel.connect(function() {
|
page.cancel.connect(function() {
|
||||||
Engine.connection.disconnect()
|
Engine.connection.disconnect()
|
||||||
|
pageStack.pop(root, StackView.Immediate);
|
||||||
|
pageStack.push(discoveryPage)
|
||||||
})
|
})
|
||||||
Engine.connection.connect(url)
|
Engine.connection.connect(url)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user