on xenial help sign in
and now the actual fix :)
0f8ce51Lukáš Tinkl
qml/Panel/Indicators/MenuItemFactory.qml+10−1
@@ -564,7 +564,16 @@ Item {
564 active: serverChecked
564 active: serverChecked
565 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
565 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
566 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
566 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
567+ signalStrength: {
567− signalStrength: strengthAction.valid ? strengthAction.state : 0
568+ if (strengthAction.valid) {
569+ var state = strengthAction.state; // handle both int and uchar
570+ if (typeof state == "string") {
571+ return state.charCodeAt();
572+ }
573+ return state;
574+ }
575+ return 0;
576+ }
568 highlightWhenPressed: false
577 highlightWhenPressed: false
569
578
570 onMenuModelChanged: {
579 onMenuModelChanged: {