~aleteoryx/muditaos

624fa2874b0adfb5dc24431cf6b386d4232a7bc3 — Kuba Kleczkowski 2 years ago 0342eb5
[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.
1 files changed, 4 insertions(+), 0 deletions(-)

M module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp
M module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp => module-apps/application-settings/windows/system/DateAndTimeMainWindow.cpp +4 -0
@@ 52,6 52,10 @@ namespace gui
                application->bus.sendUnicast(
                    std::make_shared<stm::message::SetAutomaticDateAndTimeRequest>(automaticDateAndTimeIsOn),
                    service::name::service_time);
                if (!automaticDateAndTimeIsOn) {
                    application->switchWindow(window::name::change_time_zone, nullptr);
                    return true;
                }
                refreshOptionsList();
                return true;
            },