From e6837930210deee884bb7c09f4d43738d2ba2e8c Mon Sep 17 00:00:00 2001 From: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com> Date: Fri, 27 May 2022 19:47:50 +0300 Subject: [PATCH] feat(StatusBaseInput): disabled mouse area when input is disabled Needed for: https://github.com/status-im/status-desktop/issues/4918 --- ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml b/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml index e2defdcd53..6e6d712a9b 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml @@ -308,8 +308,9 @@ Item { MouseArea { id: sensor - hoverEnabled: true anchors.fill: parent + enabled: edit.enabled + hoverEnabled: enabled cursorShape: Qt.IBeamCursor onClicked: { if (edit.activeFocus)