Modify the signal of appwidget.

This commit is contained in:
JunjieBai 2023-07-10 15:13:28 +08:00
parent 91b658da60
commit d461d53d01
1 changed files with 3 additions and 3 deletions

View File

@ -41,10 +41,10 @@ AppWidget {
onDatavalueChanged: updateSearchBarColor();
onUserStatusChangedSignal: {
if (status === "Normal") {
onUserStatusChanged: {
if (userstatus === "Normal") {
mouseArea.enabled = true;
} else if (status === "Editable") {
} else if (userstatus === "Editable") {
mouseArea.enabled = false;
}
}