Fix tooltip event getting hovered when hovering on the day

BUG: 437095


(cherry picked from commit 21f00388ee)
wilder-5.22
Carl Schwan 5 years ago committed by Nate Graham
parent 90b0983d92
commit 6e7ddbfed4
  1. 3
      applets/digital-clock/package/contents/ui/CalendarView.qml

@ -371,6 +371,7 @@ PlasmaExtras.Representation {
padding: calendar.paddings
leftPadding: calendar.paddings + PlasmaCore.Units.smallSpacing * 2
text: eventTitle.text
hoverEnabled: true
property bool hasTime: {
// Explicitly all-day event
if (modelData.isAllDay) {
@ -398,7 +399,7 @@ PlasmaExtras.Representation {
PlasmaComponents3.ToolTip {
text: modelData.description
visible: text !== ""
visible: text !== "" && eventItem.hovered
}
contentItem: GridLayout {

Loading…
Cancel
Save