fix(StatusBaseInput): Fixed border color on active focus loss (#643)

This commit is contained in:
Igor Sirotin 2022-05-03 19:08:40 +03:00 committed by GitHub
parent 31e90c2d47
commit 1d9abf8e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -296,11 +296,12 @@ Item {
MouseArea {
id: sensor
enabled: !edit.activeFocus
hoverEnabled: true
anchors.fill: parent
cursorShape: Qt.IBeamCursor
onClicked: {
if (edit.activeFocus)
return;
edit.forceActiveFocus()
root.editClicked()
}