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

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