Modify the signal of appwidget.
This commit is contained in:
parent
91b658da60
commit
d461d53d01
|
@ -41,10 +41,10 @@ AppWidget {
|
||||||
|
|
||||||
onDatavalueChanged: updateSearchBarColor();
|
onDatavalueChanged: updateSearchBarColor();
|
||||||
|
|
||||||
onUserStatusChangedSignal: {
|
onUserStatusChanged: {
|
||||||
if (status === "Normal") {
|
if (userstatus === "Normal") {
|
||||||
mouseArea.enabled = true;
|
mouseArea.enabled = true;
|
||||||
} else if (status === "Editable") {
|
} else if (userstatus === "Editable") {
|
||||||
mouseArea.enabled = false;
|
mouseArea.enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue