From feafd441b1ddf3be3b930ab5f9f85e9e6ebdcb36 Mon Sep 17 00:00:00 2001 From: vladest Date: Sun, 1 Oct 2017 18:54:07 +0200 Subject: [PATCH] Make sure keyboard will be rised after lowering on another click --- .../commerce/wallet/PassphraseSelection.qml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/interface/resources/qml/hifi/commerce/wallet/PassphraseSelection.qml b/interface/resources/qml/hifi/commerce/wallet/PassphraseSelection.qml index 93341d74cd..af05f16f15 100644 --- a/interface/resources/qml/hifi/commerce/wallet/PassphraseSelection.qml +++ b/interface/resources/qml/hifi/commerce/wallet/PassphraseSelection.qml @@ -87,6 +87,14 @@ Item { } } + MouseArea { + anchors.fill: parent + onPressed: { + sendSignalToWallet({method: 'walletSetup_raiseKeyboard'}); + mouse.accepted = false + } + } + onAccepted: { passphraseField.focus = true; } @@ -106,6 +114,14 @@ Item { activeFocusOnPress: true; activeFocusOnTab: true; + MouseArea { + anchors.fill: parent + onPressed: { + sendSignalToWallet({method: 'walletSetup_raiseKeyboard'}); + mouse.accepted = false + } + } + onFocusChanged: { if (focus) { sendMessageToLightbox({method: 'walletSetup_raiseKeyboard'}); @@ -118,6 +134,7 @@ Item { passphraseFieldAgain.focus = true; } } + HifiControlsUit.TextField { id: passphraseFieldAgain; colorScheme: hifi.colorSchemes.dark; @@ -131,6 +148,14 @@ Item { activeFocusOnPress: true; activeFocusOnTab: true; + MouseArea { + anchors.fill: parent + onPressed: { + sendSignalToWallet({method: 'walletSetup_raiseKeyboard'}); + mouse.accepted = false + } + } + onFocusChanged: { if (focus) { sendMessageToLightbox({method: 'walletSetup_raiseKeyboard'});