Commit 4feff4a7 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Fix crashing when switching away from the Month View

parent aabac22a
Pipeline #220464 passed with stage
in 3 minutes and 6 seconds
......@@ -253,7 +253,7 @@ Item {
width: parent.width
height: parent.height
spacing: root.spacing
Item {
QQC2.ScrollView {
id: dayDelegate
Layout.fillWidth: true
Layout.fillHeight: true
......@@ -269,12 +269,6 @@ Item {
rightMargin: spacing
}
// DO NOT use a ScrollView as a bug causes this to crash randomly.
// So we instead make the ListView act like a ScrollView on desktop. No crashing now!
flickableDirection: Flickable.VerticalFlick
boundsBehavior: Kirigami.Settings.isMobile ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
QQC2.ScrollBar.vertical: QQC2.ScrollBar {}
clip: true
spacing: root.listViewSpacing
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment