Commit 8d97115e authored by Nate Graham's avatar Nate Graham 💤
Browse files

Close progress sheet when last transaction finishes

Otherwise it just awkwardly sits there with just a header and nothing
below it, which looks preeeeeeety weird.

BUG: 425377
FIXED-IN: 5.20
parent c4e35e1b
......@@ -55,6 +55,15 @@ Kirigami.AbstractListItem {
}
model: TransactionModel
Connections {
target: TransactionModel
function onRowsRemoved() {
if (TransactionModel.count === 0) {
sheetObject.close();
}
}
}
delegate: Kirigami.AbstractListItem {
id: del
highlighted: false
......
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