feat(StatusBaseInput): disabled mouse area when input is disabled

Needed for: https://github.com/status-im/status-desktop/issues/4918
This commit is contained in:
Alexandra Betouni 2022-05-27 19:47:50 +03:00 committed by Michał Cieślak
parent 13b41cbd00
commit e683793021
1 changed files with 2 additions and 1 deletions

View File

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