From a16bc6bb6e52fa81119e62da60af13431c1e7ca7 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` --- src/StatusQ/Controls/StatusSeedPhraseInput.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StatusQ/Controls/StatusSeedPhraseInput.qml b/src/StatusQ/Controls/StatusSeedPhraseInput.qml index f7ee106a..42d92219 100644 --- a/src/StatusQ/Controls/StatusSeedPhraseInput.qml +++ b/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; }