From d7b40aeb125ece23bf2f039f4bb938f5cd010896 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 14 Jun 2017 17:24:07 +0200 Subject: Attachment removal We'd rather do something via the model index instead of requering an additional role, but this works for the time being. --- components/kube/contents/ui/ComposerView.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'components') diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index b92b0f2a..b8da8a83 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml @@ -271,6 +271,7 @@ Kube.View { icon: model.iconName clip: true actionIcon: Kube.Icons.remove + onExecute: composerController.removeAttachment(model.url) } } } -- cgit v1.2.3