fix(StatusSeedPhraseInput): added trim() also when seedWord selected from list (#613)

Fixes issue on Windows where empty spaces are insterted in the input
field together with the word
This commit is contained in:
Alexandra Betouni 2022-03-31 19:40:21 +03:00 committed by Michał Cieślak
parent 55e29b6f67
commit 02b2b591fe
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ Item {
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
onClicked: {
seedWordInput.text = seedWord;
seedWordInput.text = seedWord.trim();
seedWordInput.input.edit.cursorPosition = seedWordInput.text.length;
root.doneInsertingWord(seedWordInput.text);
seedSuggestionsList.model = 0;