summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-14 17:24:07 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-14 17:24:07 +0200
commitd7b40aeb125ece23bf2f039f4bb938f5cd010896 (patch)
tree6b7fbd67d772f4f8bd6c3b826ccb4fd8d00b7f18 /components
parent86cbba1d765f27845d3f332cec60222e862b502c (diff)
downloadkube-d7b40aeb125ece23bf2f039f4bb938f5cd010896.tar.gz
kube-d7b40aeb125ece23bf2f039f4bb938f5cd010896.zip
Attachment removal
We'd rather do something via the model index instead of requering an additional role, but this works for the time being.
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/ComposerView.qml1
1 files changed, 1 insertions, 0 deletions
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 {
271 icon: model.iconName 271 icon: model.iconName
272 clip: true 272 clip: true
273 actionIcon: Kube.Icons.remove 273 actionIcon: Kube.Icons.remove
274 onExecute: composerController.removeAttachment(model.url)
274 } 275 }
275 } 276 }
276 } 277 }