From 624fa2874b0adfb5dc24431cf6b386d4232a7bc3 Mon Sep 17 00:00:00 2001 From: Kuba Kleczkowski Date: Wed, 21 Dec 2022 14:33:18 +0100 Subject: [PATCH] [MOS-373] Fixed missing timezone window Fixed missing timezone window, which should be displayed after Automatic date and time setting is set to disabled. MOS-181 is also fixed by this commit. --- .../windows/system/DateAndTimeMainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp b/module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp index ca0d9b880cae0d24a2eee6cb5b7ccf121624cbba..5d0fe8e618c8a40ed05224cf46e8ee0843b8f40f 100644 --- a/module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp +++ b/module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp @@ -52,6 +52,10 @@ namespace gui application->bus.sendUnicast( std::make_shared(automaticDateAndTimeIsOn), service::name::service_time); + if (!automaticDateAndTimeIsOn) { + application->switchWindow(window::name::change_time_zone, nullptr); + return true; + } refreshOptionsList(); return true; },