From 2d915d30375ff368afe02938ac838a65f47fdc28 Mon Sep 17 00:00:00 2001 From: F_Chao Fengchao <834317452@qq.com> Date: Fri, 7 Jun 2024 13:47:58 +0200 Subject: [PATCH] Fix the bug where the time zone cannot be set during initialstart. --- initialstart/modules/time/package/contents/ui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initialstart/modules/time/package/contents/ui/main.qml b/initialstart/modules/time/package/contents/ui/main.qml index aee086cb..c9deaec5 100644 --- a/initialstart/modules/time/package/contents/ui/main.qml +++ b/initialstart/modules/time/package/contents/ui/main.qml @@ -94,7 +94,7 @@ Item { checked: Time.TimeUtil.currentTimeZone === timeZoneId onCheckedChanged: { if (checked && timeZoneId !== Time.TimeUtil.currentTimeZone) { - Time.TimeUtil.currentTimeZone = model.timeZoneId; + Time.TimeUtil.currentTimeZone = timeZoneId; checked = Qt.binding(() => Time.TimeUtil.currentTimeZone === timeZoneId); } }