From d0685bcbfbb9bed48afd69905274810ac488c9dc Mon Sep 17 00:00:00 2001 From: Boris Melnik Date: Mon, 16 May 2022 19:32:02 +0300 Subject: [PATCH] fix(onboarding): Hide context menu for password fields Closes: #5547 --- ui/imports/shared/controls/Input.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/imports/shared/controls/Input.qml b/ui/imports/shared/controls/Input.qml index 45c8617040..5c0b65f7b8 100644 --- a/ui/imports/shared/controls/Input.qml +++ b/ui/imports/shared/controls/Input.qml @@ -125,7 +125,7 @@ Item { anchors.fill: parent acceptedButtons: Qt.RightButton | Qt.LeftButton onClicked: { - if((mouse.button === Qt.RightButton) && inputValue.canPaste) { + if((mouse.button === Qt.RightButton) && inputValue.canPaste && inputValue.echoMode !== TextInput.Password) { rightClickContextMenu.popup() } else {