scroll the view on top when we connect to a new AP
commit040cd45bac4f58f11173190a012d1b2b8c263b5f
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateMon 22 Feb 2016, 20:16 (11 years ago)
parent35f4487
qml/Wizard/Pages/30-wifi.qml+5
@@ -144,6 +144,11 @@ LocalComponents.Page {
144144 onMenuIndexChanged: {
145145 loadAttributes();
146146 }
147+ onIsConnectedChanged: {
148+ if (isConnected) {
149+ listview.positionViewAtIndex(0, ListView.Beginning);
150+ }
151+ }
147152 }
148153 }
149154