adding the removal of items work on the slides

This isn't finished yet, but the core is there. I have yet to fully
remove slides after a service_item is removed.
This commit is contained in:
Chris Cochrun 2023-04-11 06:20:56 -05:00
parent 7a36b70a6d
commit f8ac7feea0
5 changed files with 35 additions and 10 deletions

View file

@ -506,7 +506,7 @@ Item {
icon.name: "delete"
onTriggered: {
showPassiveNotification("remove");
removeItem(serviceItemList.currentIndex);
removeItems();
}
},
Kirigami.Action {
@ -515,11 +515,12 @@ Item {
onTriggered: {
showPassiveNotification("clearing all items");
ServiceItemModel.clearAll();
serviceItemList.forceLayout()
}
},
Kirigami.Action {
text: "Load"
icon.name: "list-remove-all"
icon.name: "fileopen"
onTriggered: {
loadingItem.visible = !loadingItem.visible;
}