mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
TextField.onEditingFinished() is not available in Qt versions lower than 5.9. Replace with onEditingFinished()
This commit is contained in:
parent
71a1ff6677
commit
e650818016
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ ColumnLayout {
|
||||||
color: "#4A4949"
|
color: "#4A4949"
|
||||||
text: persistentSettings.kdfRounds
|
text: persistentSettings.kdfRounds
|
||||||
validator: IntValidator { bottom: 1 }
|
validator: IntValidator { bottom: 1 }
|
||||||
onTextEdited: {
|
onEditingFinished: {
|
||||||
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
|
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue