From 07fa2a1b0c1dacbab4df9957b83999e600c3b3bf Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 30 Mar 2022 14:23:18 -0400 Subject: [PATCH] fix(StatusSeedPhraseInput): remove empty spaces in seed phrase input (#611) --- src/StatusQ/Controls/StatusSeedPhraseInput.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatusQ/Controls/StatusSeedPhraseInput.qml b/src/StatusQ/Controls/StatusSeedPhraseInput.qml index 90059962..eee33048 100644 --- a/src/StatusQ/Controls/StatusSeedPhraseInput.qml +++ b/src/StatusQ/Controls/StatusSeedPhraseInput.qml @@ -90,7 +90,7 @@ Item { seedSuggestionsList.model = filteredList; if ((text.length === 4) && (filteredList.count === 1) && ((input.edit.keyEvent !== Qt.Key_Backspace) && (input.edit.keyEvent !== Qt.Key_Delete))) { - seedWordInput.text = filteredList.get(0).seedWord; + seedWordInput.text = filteredList.get(0).seedWord.trim(); seedWordInput.input.edit.cursorPosition = seedWordInput.text.length; seedSuggestionsList.model = 0; root.doneInsertingWord(seedWordInput.text);