Browse Source

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

master
SomberNight 2 years ago
parent
commit
cb55c65677
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 6
      electrum/gui/qml/components/wizard/WCWalletPassword.qml

6
electrum/gui/qml/components/wizard/WCWalletPassword.qml

@ -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
}
}
}

Loading…
Cancel
Save