aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardCreateWallet.qml
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/WizardCreateWallet.qml')
-rw-r--r--wizard/WizardCreateWallet.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml
index 771a13ec..43b8158f 100644
--- a/wizard/WizardCreateWallet.qml
+++ b/wizard/WizardCreateWallet.qml
@@ -29,6 +29,7 @@
import QtQuick 2.2
import moneroComponents 1.0
import QtQuick.Dialogs 1.2
+import 'utils.js' as Utils
Item {
opacity: 0
@@ -54,7 +55,7 @@ Item {
}
function checkNextButton() {
- var wordsArray = cleanWordsInput(uiItem.wordsTextItem.memoText).split(" ");
+ var wordsArray = Utils.lineBreaksToSpaces(uiItem.wordsTextItem.memoText).split(" ");
wizard.nextButton.enabled = wordsArray.length === 25;
}