Modify the signal of appwidget.
This commit is contained in:
parent
91b658da60
commit
d461d53d01
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue