Add region based holidays (not only country wide)

This commit is contained in:
ly-sec 2025-07-20 20:28:33 +02:00
parent c646a1de0d
commit d3caca661b
4 changed files with 46 additions and 9 deletions

View file

@ -187,9 +187,13 @@ PanelWindow {
// Release focus when modal becomes invisible
onVisibleChanged: {
if (!visible)
// Focus will be handled by the individual components
{}
if (!visible) {
// Focus will be handled by the individual components
// Also trigger weather update if possible
if (typeof weather !== 'undefined' && weather !== null && weather.fetchCityWeather) {
weather.fetchCityWeather();
}
}
}
}