1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

desktop widgets: easier copy/delete

This commit is contained in:
bbedward
2025-12-27 14:13:06 -05:00
parent fbe362cd20
commit 7aff1182c8
4 changed files with 167 additions and 42 deletions

View File

@@ -112,6 +112,8 @@ Item {
root.expandedStates = states;
}
onDuplicateRequested: SettingsData.duplicateDesktopWidgetInstance(instanceIdRef)
onDeleteRequested: {
SettingsData.removeDesktopWidgetInstance(instanceIdRef);
ToastService.showInfo(I18n.tr("Widget removed"));