mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Add region based holidays (not only country wide)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user