From 6056db73cfd2527dd4c5943550dcdaa813fdcded 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 --- src/StatusQ/Controls/StatusBaseInput.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/StatusQ/Controls/StatusBaseInput.qml b/src/StatusQ/Controls/StatusBaseInput.qml index e2defdcd..6e6d712a 100644 --- a/src/StatusQ/Controls/StatusBaseInput.qml +++ b/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)