Skip to content

components/calendar: set currentIndex before positionViewAtIndex

Akseli Lahtinen requested to merge work/cherry-pick-6cb44947 into Plasma/6.1

components/calendar: set currentIndex before positionViewAtIndex

components/calendar: set currentIndex before positionViewAtIndex

We have to set currentIndex before positioning, otherwise the positioning gets very confused and starts hopping over elements like next month etc.

This fixes bug linked below, where clicking on arrow to change to next month would hop over 3 months instead of 1.

BUG:487631

Merge request reports