diff options
author | Olivier De Cannière <olivier.decanniere96@gmail.com> | 2022-09-19 21:23:40 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-09-20 13:12:00 -0400 |
commit | 6f69f4bb5e790b80a0314a8d80bffba3351c966d (patch) | |
tree | 9e68623682c6ceec1ad596ca0bcb193d4f34d1c6 /Userland/Applications/Calendar | |
parent | a1d98b825d0255d4d35f435d8381d541fc56f48b (diff) | |
download | serenity-6f69f4bb5e790b80a0314a8d80bffba3351c966d.zip |
Calendar: Update month view on first_day_of_week setting change
Now when the user changes their preferred first day of the week in the
Calendar Settings, the Calendar application and applet views are update
accordingly without needing to restart them.
Diffstat (limited to 'Userland/Applications/Calendar')
-rw-r--r-- | Userland/Applications/Calendar/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Calendar/main.cpp b/Userland/Applications/Calendar/main.cpp index 54f0e56042..a69474281c 100644 --- a/Userland/Applications/Calendar/main.cpp +++ b/Userland/Applications/Calendar/main.cpp @@ -27,6 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domain("Calendar"); + Config::monitor_domain("Calendar"); TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/etc/timezone", "r")); |