Commit 1493630d authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Fix detection of isCurrentMonth in multidayview delegate

parent c1b47a4a
Pipeline #124299 passed with stage
in 4 minutes and 41 seconds
......@@ -45,10 +45,10 @@ Item {
property int horizontalSpacing: 0 // In between incidence spaces
property real radius: Kirigami.Units.smallSpacing
property string openOccurrenceId: ""
property bool isOpenOccurrence: openOccurrenceId ?
property bool isOpenOccurrence: openOccurrenceId.length > 0 ?
openOccurrenceId === modelData.incidenceId : false
property bool reactToCurrentMonth: true
readonly property bool isInCurrentMonth: reactToCurrentMonth && currentMonth ?
readonly property bool isInCurrentMonth: reactToCurrentMonth ?
modelData.endTime.getMonth() == root.month || modelData.startTime.getMonth() == root.month :
true
property bool isDark: false
......
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