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:
parent
07fa2a1b0c
commit
0a2cf6ab6e
|
@ -169,7 +169,7 @@ Item {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
seedWordInput.text = seedWord;
|
seedWordInput.text = seedWord.trim();
|
||||||
seedWordInput.input.edit.cursorPosition = seedWordInput.text.length;
|
seedWordInput.input.edit.cursorPosition = seedWordInput.text.length;
|
||||||
root.doneInsertingWord(seedWordInput.text);
|
root.doneInsertingWord(seedWordInput.text);
|
||||||
seedSuggestionsList.model = 0;
|
seedSuggestionsList.model = 0;
|
||||||
|
|
Loading…
Reference in New Issue