SignInSso: return to server list on Cancel click

This commit is contained in:
miruka 2020-08-19 09:45:22 -04:00
parent 5ac5dbd1d5
commit e303ee1fc9
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,6 @@
# TODO # TODO
- server list sorting method / explain what the % number is (stability) - server list sorting method / explain what the % number is (stability)
- clicking cancel on SSO "waiting" box doesn't do anything the first time
- spam alt+shift+a when starting app on server browser → segfault - spam alt+shift+a when starting app on server browser → segfault
- remove items.Device - remove items.Device
- register tab for sso servers? - register tab for sso servers?

View File

@ -26,6 +26,15 @@ SignInBase {
}) })
} }
function cancel() {
if (loginFuture) {
page.loginFuture.cancel()
page.loginFuture = null
}
page.exitRequested()
}
applyButton.text: qsTr("Waiting") applyButton.text: qsTr("Waiting")
applyButton.loading: true applyButton.loading: true