1
0

qml wizard: WCWalletPassword: show warning if pw is too short

This commit is contained in:
SomberNight
2024-01-31 10:28:10 +00:00
parent cc19a86262
commit cb55c65677

View File

@@ -68,5 +68,11 @@ WizardComponent {
visible: password1.text != password2.text
iconStyle: InfoTextArea.IconStyle.Warn
}
InfoTextArea {
Layout.alignment: Qt.AlignCenter
text: qsTr('Password too short')
visible: (password1.text == password2.text) && !valid
iconStyle: InfoTextArea.IconStyle.Warn
}
}
}