Skip to content

Commit

Permalink
set custom time zone only if required
Browse files Browse the repository at this point in the history
fixes bug:
- enable cusom time zone, apply settings (close dialog)
- reopen settings and disable custome time zone, apply
- retart the app -> custom time zone is used
  • Loading branch information
Kolcha committed Dec 14, 2024
1 parent 85c6da1 commit e31e464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ void Application::configureWindow(size_t i)
clock->setIgnoreAX(acfg.getIgnoreAX());
clock->setIgnoreAY(acfg.getIgnoreAY());

clock->setTimeZone(gcfg.getTimeZone());
if (!gcfg.getShowLocalTime())
clock->setTimeZone(gcfg.getTimeZone());

// load skin
if (i == 0 || _cfg->global().getAppearancePerInstance()) {
Expand Down

0 comments on commit e31e464

Please sign in to comment.