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 Michał Cieślak
parent 5c420a0e11
commit 774f2f3d15
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()
}