From 856f601be3204791e46f796b0d65861cab0a5f80 Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Mon, 30 Dec 2013 12:21:12 +0100 Subject: [PATCH] Add NoPredictiveText hint to search field This fixes the problem with the clear button not working in the search field of the StationList. --- .../sailfish/qml/pages/StationListPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/resources/sailfish/qml/pages/StationListPage.qml b/application/resources/sailfish/qml/pages/StationListPage.qml index 490b3fb..e1c5b8c 100644 --- a/application/resources/sailfish/qml/pages/StationListPage.qml +++ b/application/resources/sailfish/qml/pages/StationListPage.qml @@ -39,7 +39,7 @@ Page { SearchField { id: searchField placeholderText: qsTr("Search station...") - inputMethodHints: Qt.ImhNoAutoUppercase + inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText onTextChanged: stationListPage.searchPattern = searchField.text width: stationListPage.width EnterKey.onClicked: searchField.focus = false -- 1.7.9.5