forked from Public/monero-gui
WizardHome: fix kdf textbox displaying incorrect value
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user