aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardOptions.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2018-12-09 17:43:55 +0100
committerdsc <xmrdsc@protonmail.com>2018-12-09 17:43:55 +0100
commite650818016e1d3acfa31e0d6a37172bccd42801d (patch)
tree07fc4346ac46e6d10485431644126a33d2de688a /wizard/WizardOptions.qml
parent71a1ff6677917e2c8be330c38fa6d3bfb79dffd2 (diff)
downloadmonzero-gui-e650818016e1d3acfa31e0d6a37172bccd42801d.tar.gz
monzero-gui-e650818016e1d3acfa31e0d6a37172bccd42801d.tar.xz
monzero-gui-e650818016e1d3acfa31e0d6a37172bccd42801d.zip
TextField.onEditingFinished() is not available in Qt versions lower than 5.9. Replace with onEditingFinished()
Diffstat (limited to 'wizard/WizardOptions.qml')
-rw-r--r--wizard/WizardOptions.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizard/WizardOptions.qml b/wizard/WizardOptions.qml
index c4366307..b0fa0fd0 100644
--- a/wizard/WizardOptions.qml
+++ b/wizard/WizardOptions.qml
@@ -381,7 +381,7 @@ ColumnLayout {
color: "#4A4949"
text: persistentSettings.kdfRounds
validator: IntValidator { bottom: 1 }
- onTextEdited: {
+ onEditingFinished: {
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
}
}