mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
WizardHome: fix kdf textbox displaying incorrect value
This commit is contained in:
parent
02ae14fd6b
commit
820b221fa5
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ Rectangle {
|
||||||
validator: IntValidator { bottom: 1 }
|
validator: IntValidator { bottom: 1 }
|
||||||
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"
|
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
|
persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue