mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-18 18:44:01 +00:00
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
55e29b6f67
commit
02b2b591fe
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user