on xenial help sign in
simplify
commit82af3b4eb1a2af557f4c0fe7dd4f35d42293591d authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 10 Sep 2015, 12:04 (11 years ago) parent4eede8f
1 file changed+2−5
qml/Wizard/Pages/30-wifi.qml+2−5
qml/Wizard/Pages/30-wifi.qml+2−5
@@ -97,14 +97,12 @@ LocalComponents.Page {
9797 'x-canonical-wifi-ap-strength-action': 'string'});
9898 }
9999
100− signal activate()
101−
102100 text: menuData && menuData.label || ""
103101 enabled: menuData && menuData.sensitive && !enterprise || false
104102 __foregroundColor: textColor
105103 showDivider: true
106104 iconName: {
107− var imageName = "nm-signal-100";
105+ var imageName = "nm-no-connection";
108106
109107 if (adHoc) {
110108 imageName = "nm-adhoc";
@@ -126,7 +124,7 @@ LocalComponents.Page {
126124 return imageName;
127125 }
128126 iconFrame: false
129− onClicked: accessPoint.activate();
127+ onClicked: unityMenuModel.activate(menuIndex);
130128
131129 Component.onCompleted: {
132130 loadAttributes();
@@ -137,7 +135,6 @@ LocalComponents.Page {
137135 onMenuIndexChanged: {
138136 loadAttributes();
139137 }
140− onActivate: unityMenuModel.activate(menuIndex);
141138 }
142139 }
143140