fix(StatusSeedPhraseInput): don't access input control via `root`

This commit is contained in:
Pascal Precht 2022-04-07 14:32:07 +02:00
parent 51989c0f5d
commit a16bc6bb6e
No known key found for this signature in database
GPG Key ID: 3017C135E0731E5A
1 changed files with 2 additions and 2 deletions

View File

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