qml: fix cancelling network wizard not closing app
This commit is contained in:
@@ -475,6 +475,7 @@ ApplicationWindow
|
|||||||
// without completed serverConnectWizard we can't start
|
// without completed serverConnectWizard we can't start
|
||||||
dialog.rejected.connect(function() {
|
dialog.rejected.connect(function() {
|
||||||
app.visible = false
|
app.visible = false
|
||||||
|
AppController.wantClose = true
|
||||||
Qt.callLater(Qt.quit)
|
Qt.callLater(Qt.quit)
|
||||||
})
|
})
|
||||||
dialog.accepted.connect(function() {
|
dialog.accepted.connect(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user