fix(onboarding): Hide context menu for password fields

Closes: #5547
This commit is contained in:
Boris Melnik 2022-05-16 19:32:02 +03:00
parent 54e2217c93
commit d0685bcbfb
1 changed files with 1 additions and 1 deletions

View File

@ -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 {