diff --git a/frontend/search-app-widget-plugin/provider/data/search.qml b/frontend/search-app-widget-plugin/provider/data/search.qml index 6d14b5b..b4686a9 100755 --- a/frontend/search-app-widget-plugin/provider/data/search.qml +++ b/frontend/search-app-widget-plugin/provider/data/search.qml @@ -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; } }