@@ -72,7 +72,7 @@ LocalComponents.Page {
7272 id: accessPointComponent
7373 ListItem {
7474 id: accessPoint
75− objectName: getObjectName()
75+ objectName: "accessPoint_" + apName.text.toLowerCase().replace(/\s+/g, '_')
7676 highlightColor: backgroundColor
7777 enabled: menuData && menuData.sensitive || false
7878 divider.colorFrom: dividerColor
@@ -93,10 +93,6 @@ LocalComponents.Page {
9393 readonly property int signalStrength: strengthAction.valid ? strengthAction.state : 0
9494 property int menuIndex: -1
9595
96− function getObjectName() {
97− "accessPoint_" + apName.text.toLowerCase().replace(/\s+/g, '_')
98− }
99−
10096 function loadAttributes() {
10197 if (!unityMenuModel || menuIndex == -1) return;
10298 unityMenuModel.loadExtendedAttributes(menuIndex, {'x-canonical-wifi-ap-is-adhoc': 'bool',