Merge pull request #3419

820b221 WizardHome: fix kdf textbox displaying incorrect value (selsta)
This commit is contained in:
luigi1111 2021-04-22 01:55:54 -04:00
commit 46bc94fbe8
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -223,7 +223,7 @@ Rectangle {
validator: IntValidator { bottom: 1 }
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"
onTextChanged: {
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
}
}