on xenial help sign in
MenuItemFactory: activateByVariantString on calendar selection change using proper type
039ffa2Marco Trevisan (Treviño)
qml/Panel/Indicators/MenuItemFactory.qml+7
@@ -508,6 +508,13 @@ Item {
508 objectName: "calendarMenu"
508 objectName: "calendarMenu"
509 highlightWhenPressed: false
509 highlightWhenPressed: false
510 focus: true
510 focus: true
511+
512+ property var menuModel: menuFactory.menuModel
513+ property int menuIndex: -1
514+
515+ onSelectedDateChanged: {
516+ menuModel.activateByVariantString(menuIndex, "int64 %1".arg(selectedDate.getTime() / 1000 | 0))
517+ }
511 }
518 }
512 }
519 }
513
520