fix calendar ui (currentMonth and currentYear was incorrect due to initialisation)

This commit is contained in:
Gaelle Braud 2024-08-12 11:29:56 +02:00
parent ab64d0479a
commit 7b06527ddc

View file

@ -23,7 +23,6 @@ ListView {
property int currentYear: calendarModel.yearAt(currentIndex) property int currentYear: calendarModel.yearAt(currentIndex)
onCurrentYearChanged: console.log("currentyear", currentYear) onCurrentYearChanged: console.log("currentyear", currentYear)
onCurrentMonthChanged: console.log("current month", currentMonth) onCurrentMonthChanged: console.log("current month", currentMonth)
currentIndex: 0
keyNavigationEnabled: false keyNavigationEnabled: false
model: Control.CalendarModel { model: Control.CalendarModel {