Add region based holidays (not only country wide)
This commit is contained in:
parent
eda530ceb9
commit
0504bcc02e
3 changed files with 42 additions and 14 deletions
|
|
@ -17,17 +17,12 @@ PanelWindow {
|
|||
anchors.right: true
|
||||
margins.right: 0
|
||||
margins.top: 0
|
||||
//z: 100
|
||||
//border.color: Theme.outline
|
||||
//border.width: 1
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Theme.backgroundPrimary
|
||||
radius: 24
|
||||
//border.color: Theme.outline
|
||||
//border.width: 1
|
||||
z: 0
|
||||
|
||||
ColumnLayout {
|
||||
|
|
@ -187,9 +182,12 @@ 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
|
||||
if (typeof weather !== 'undefined' && weather !== null && weather.fetchCityWeather) {
|
||||
weather.fetchCityWeather();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue