Commit 56064d80 authored by Nicolas Fella's avatar Nicolas Fella

[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
parent c53aaaf2
......@@ -151,7 +151,7 @@ PlasmaComponents3.Page {
ColumnLayout {
id: rightColumn
visible: agenda.visible || worldClocks.visible
visible: calendar.showAgenda || calendar.showClocks
Layout.minimumWidth: units.gridUnit * 14
......
Markdown is supported
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