on xenial help sign in
reset the selected TZ when the filter changes
d447689Lukáš Tinkl
qml/Wizard/Pages/50-timezone.qml+2−3
@@ -120,9 +120,8 @@ LocalComponents.Page {
120 placeholderText: i18n.tr("Enter your city or country")
120 placeholderText: i18n.tr("Enter your city or country")
121 inputMethodHints: Qt.ImhNoPredictiveText
121 inputMethodHints: Qt.ImhNoPredictiveText
122 onTextChanged: {
122 onTextChanged: {
123− if (text == "") { // reset when switching between filter modes (text/country)
123+ // reset when switching between filter modes (text/country)
124− selectedTimeZone = ""
124+ selectedTimeZone = ""
125− }
126 }
125 }
127 }
126 }
128
127