calendar: Fix updating decade overview
Always update model when switching to decade overview. REVIEW: 125893
This commit is contained in:
parent
73712057b2
commit
1e867f276b
@ -252,7 +252,10 @@ PinchArea {
|
||||
|
||||
onPrevious: calendarBackend.previousYear()
|
||||
onNext: calendarBackend.nextYear()
|
||||
onHeaderClicked: stack.push(decadeOverview)
|
||||
onHeaderClicked: {
|
||||
updateDecadeOverview();
|
||||
stack.push(decadeOverview)
|
||||
}
|
||||
onActivated: {
|
||||
calendarBackend.goToMonth(date.monthNumber)
|
||||
stack.pop()
|
||||
|
Loading…
Reference in New Issue
Block a user