Merge lp:~costales/unav/revamp-poi-feature into lp:~nik90/unav/revamp-poi-feature

Proposed by costales
Status: Merged
Merged at revision: 7
Proposed branch: lp:~costales/unav/revamp-poi-feature
Merge into: lp:~nik90/unav/revamp-poi-feature
Diff against target: 24 lines (+3/-1)
2 files modified
qml/Main.qml (+1/-0)
qml/PoiPage.qml (+2/-1)
To merge this branch: bzr merge lp:~costales/unav/revamp-poi-feature
Reviewer Review Type Date Requested Status
Nekhelesh Ramananthan Approve
Review via email: mp+290175@code.launchpad.net

Description of the change

Remember distance header between sessions

To post a comment you must log in.
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

This looks good to me. Merging this into my branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Main.qml'
2--- qml/Main.qml 2016-03-26 18:53:17 +0000
3+++ qml/Main.qml 2016-03-27 09:15:02 +0000
4@@ -69,6 +69,7 @@
5 property bool headerVisible: true
6 property bool showTuto: true
7 property bool showAGPS: true
8+ property int defaultDistancePOI: 1
9 }
10
11 ScreenSaver {
12
13=== modified file 'qml/PoiPage.qml'
14--- qml/PoiPage.qml 2016-03-26 22:17:50 +0000
15+++ qml/PoiPage.qml 2016-03-27 09:15:02 +0000
16@@ -83,7 +83,8 @@
17 }
18
19 model: [factorList[0]+unit, factorList[1]+unit, factorList[2]+unit, factorList[3]+unit, factorList[4]+unit]
20- selectedIndex: 1
21+ selectedIndex: navApp.settings.defaultDistancePOI
22+ onSelectedIndexChanged: navApp.settings.defaultDistancePOI = distanceSections.selectedIndex;
23 }
24 }
25

Subscribers

People subscribed via source and target branches