Fix broken logout&login.

This commit is contained in:
Black Hat 2018-10-08 06:43:55 +08:00
parent e69ac60d08
commit 4673ce8df6
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,9 @@ Page {
property var controller property var controller
property alias loginButton: loginButton property alias loginButton: loginButton
property alias serverField: serverField
property alias usernameField: usernameField
property alias passwordField: passwordField
Row { Row {
anchors.fill: parent anchors.fill: parent
@ -145,3 +148,8 @@ Page {
} }
} }
} }
/*##^## Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/

View File

@ -131,6 +131,8 @@ Column {
highlighted: true highlighted: true
text: "Logout" text: "Logout"
onClicked: connection.logout()
} }
} }
} }