diff options
Diffstat (limited to 'views/composer/qml')
-rw-r--r-- | views/composer/qml/View.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index 64de3569..de3a6a5b 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml | |||
@@ -291,8 +291,8 @@ Kube.View { | |||
291 | Repeater { | 291 | Repeater { |
292 | model: composerController.attachments.model | 292 | model: composerController.attachments.model |
293 | delegate: Kube.AttachmentDelegate { | 293 | delegate: Kube.AttachmentDelegate { |
294 | name: model.filename | 294 | name: model.filename ? model.filename : "" |
295 | icon: model.iconname | 295 | icon: model.iconname ? model.iconname : "" |
296 | clip: true | 296 | clip: true |
297 | actionIcon: Kube.Icons.remove | 297 | actionIcon: Kube.Icons.remove |
298 | onExecute: composerController.attachments.remove(model.id) | 298 | onExecute: composerController.attachments.remove(model.id) |