Testing upload file && minor UI tweaks.

This commit is contained in:
Black Hat
2018-07-15 16:02:26 +08:00
parent 965dbeff83
commit 4ef063ea82
5 changed files with 24 additions and 22 deletions

View File

@@ -137,7 +137,12 @@ Page {
text: "LOGIN"
highlighted: true
onClicked: controller.loginWithCredentials(serverField.text, usernameField.text, passwordField.text)
onClicked: {
matriqueController.isLoginChanged.connect( function() {
if (matriqueController.isLogin) stackView.replace(roomPage)
})
controller.loginWithCredentials(serverField.text, usernameField.text, passwordField.text)
}
}
}
}