Merge lp:~vthompson/ubuntu-weather-app/fix-1288932 into lp:ubuntu-weather-app/obsolete.trunk

Proposed by Victor Thompson
Status: Merged
Approved by: Martin Borho
Approved revision: 218
Merged at revision: 218
Proposed branch: lp:~vthompson/ubuntu-weather-app/fix-1288932
Merge into: lp:ubuntu-weather-app/obsolete.trunk
Diff against target: 11 lines (+1/-0)
1 file modified
components/AddLocationSheet.qml (+1/-0)
To merge this branch: bzr merge lp:~vthompson/ubuntu-weather-app/fix-1288932
Reviewer Review Type Date Requested Status
Martin Borho Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+209850@code.launchpad.net

Commit message

Prevent predictive text in search bar.

Description of the change

Prevent predictive text in search bar because location names aren't typically things aided by predictive text.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Martin Borho (martin-borho) wrote :

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'components/AddLocationSheet.qml'
2--- components/AddLocationSheet.qml 2014-02-22 15:38:15 +0000
3+++ components/AddLocationSheet.qml 2014-03-07 07:40:59 +0000
4@@ -141,6 +141,7 @@
5 anchors.fill: parent
6 placeholderText: i18n.tr("Enter a city name")
7 hasClearButton: true
8+ inputMethodHints: Qt.ImhNoPredictiveText
9 onAccepted: {
10 doSearch();
11 search_timer.stop()

Subscribers

People subscribed via source and target branches