Commit aa5215a0 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[applets/digitalclock] Fix showing agenda view when enabling plugins

The agenda view is only shown when at least one event source is active.
When going from 0 to 1 active sources the view wasn't updated correctly.

This was because the visibility of rightColumn was bound to the
visibility of its child, but since the visibility of the parent affects
the visibility of its childred (https://doc.qt.io/qt-5/qml-qtquick-item.html#visible-prop) that resulted in a broken binding.

Bind to the source property directly to avoid this

BUG: 431433
(cherry picked from commit 56064d80)
parent 6351e53c
......@@ -145,7 +145,7 @@ PlasmaComponents3.Page {
ColumnLayout {
id: rightColumn
visible: agenda.visible || worldClocks.visible
visible: calendar.showAgenda || calendar.showClocks
Layout.minimumWidth: units.gridUnit * 14
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment