From 10ccfef8de7befa07ef64f45ddaf8a5b28420f0c Mon Sep 17 00:00:00 2001 From: Pascal Precht <445106+PascalPrecht@users.noreply.github.com> Date: Thu, 7 Apr 2022 14:32:07 +0200 Subject: [PATCH] fix(StatusSeedPhraseInput): don't access input control via `root` --- ui/StatusQ/src/StatusQ/Controls/StatusSeedPhraseInput.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusSeedPhraseInput.qml b/ui/StatusQ/src/StatusQ/Controls/StatusSeedPhraseInput.qml index f7ee106a23..42d922197c 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusSeedPhraseInput.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusSeedPhraseInput.qml @@ -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; }