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:
parent
7a36b70a6d
commit
f8ac7feea0
5 changed files with 35 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue