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:
parent
13b41cbd00
commit
e683793021
|
@ -308,8 +308,9 @@ Item {
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: sensor
|
id: sensor
|
||||||
hoverEnabled: true
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
enabled: edit.enabled
|
||||||
|
hoverEnabled: enabled
|
||||||
cursorShape: Qt.IBeamCursor
|
cursorShape: Qt.IBeamCursor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (edit.activeFocus)
|
if (edit.activeFocus)
|
||||||
|
|
Loading…
Reference in New Issue