Commit de8452b7 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳
Browse files

Don't close the progress sheet when the drawer becomes invisible

parent cd7a5a63
......@@ -31,10 +31,6 @@ Kirigami.AbstractListItem {
if (!sheetObject.sheetOpen)
sheetObject.open()
}
onVisibleChanged: if (!visible && sheetObject) {
sheetObject.close()
sheetObject.destroy(100)
}
readonly property var v3: Component {
id: sheet
......@@ -43,6 +39,11 @@ Kirigami.AbstractListItem {
header: Kirigami.Heading {
text: i18n("Tasks")
}
onSheetOpenChanged: {
if (!sheetOpen) {
sheetObject.destroy(100)
}
}
contentItem: ListView {
id: tasksView
spacing: 0
......
Markdown is supported
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