WizardHome: fix kdf textbox displaying incorrect value

This commit is contained in:
selsta
2021-04-20 21:28:04 +02:00
parent 02ae14fd6b
commit 820b221fa5

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