fix: "Generate new keys" not clickable

On the Login screen, the "generate new keys" button was not clickable since the most recent update to the button.
This commit is contained in:
emizzle 2020-10-08 14:23:11 +11:00 committed by Pascal Precht
parent 0774ad8ccf
commit 2b7e66d4e5
1 changed files with 5 additions and 12 deletions

View File

@ -181,24 +181,17 @@ Item {
}
}
MouseArea {
id: generateKeysLink
width: generateKeysLinkText.width
height: generateKeysLinkText.height
cursorShape: Qt.PointingHandCursor
anchors.top: txtPassword.bottom
anchors.topMargin: 26
anchors.horizontalCenter: parent.horizontalCenter
onClicked: {
setCurrentFlow(false);
onGenKeyClicked()
}
StatusButton {
id: generateKeysLinkText
//% "Generate new keys"
text: qsTrId("generate-new-keys")
anchors.top: txtPassword.bottom
anchors.topMargin: 26
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: 13
onClicked: {
setCurrentFlow(false);
onGenKeyClicked()
}
}
}