on xenial help sign in
fix saving the timezone
commit85f965e32ef5e13632e6d2403702de430361ee60 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateMon 31 Aug 2015, 17:33 (11 years ago) parent3f8ef3c
1 file changed+8−4
qml/Wizard/Pages/50-timezone.qml+8−4
qml/Wizard/Pages/50-timezone.qml+8−4
@@ -29,6 +29,10 @@ LocalComponents.Page {
2929
3030 property alias selectedTimeZone: tzModel.selectedZoneId
3131
32+ UbuntuTimeDatePanel {
33+ id: timeDatePanel
34+ }
35+
3236 TimeZoneModel {
3337 id: tzModel
3438 }
@@ -110,14 +114,14 @@ LocalComponents.Page {
110114 ListView {
111115 id: tzList;
112116
113− boundsBehavior: Flickable.StopAtBounds;
117+ boundsBehavior: Flickable.StopAtBounds
114118 clip: true;
115119 currentIndex: -1
116120 snapMode: ListView.SnapToItem
117121
118122 anchors {
119− left: parent.left;
120− right: parent.right;
123+ left: parent.left
124+ right: parent.right
121125 }
122126
123127 height: column.height - searchField.height - column.spacing - topMargin
@@ -132,7 +136,7 @@ LocalComponents.Page {
132136 text: i18n.tr("Next")
133137 enabled: selectedTimeZone != ""
134138 onClicked: {
135− UbuntuTimeDatePanel.timeZone = selectedTimeZone;
139+ timeDatePanel.timeZone = selectedTimeZone;
136140 pageStack.next();
137141 }
138142 }