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:
parent
0774ad8ccf
commit
2b7e66d4e5
|
@ -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 {
|
StatusButton {
|
||||||
id: generateKeysLinkText
|
id: generateKeysLinkText
|
||||||
//% "Generate new keys"
|
//% "Generate new keys"
|
||||||
text: qsTrId("generate-new-keys")
|
text: qsTrId("generate-new-keys")
|
||||||
|
anchors.top: txtPassword.bottom
|
||||||
|
anchors.topMargin: 26
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
|
onClicked: {
|
||||||
|
setCurrentFlow(false);
|
||||||
|
onGenKeyClicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue