From fa0a2ec55cc952eea3e9f33f17c0192222fbf873 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Mon, 2 Oct 2017 13:47:13 +0200 Subject: [PATCH] Don't eat each key event --- src/editor/attachment/attachmentview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor/attachment/attachmentview.cpp b/src/editor/attachment/attachmentview.cpp index 6979e7f9a..22a13ebbe 100644 --- a/src/editor/attachment/attachmentview.cpp +++ b/src/editor/attachment/attachmentview.cpp @@ -150,6 +150,8 @@ void AttachmentView::keyPressEvent(QKeyEvent *event) for (const AttachmentPart::Ptr &part : qAsConst(toRemove)) { d->model->removeAttachment(part); } + } else { + QTreeView::keyPressEvent(event); } }