Commit fa0a2ec5 authored by Laurent Montel's avatar Laurent Montel 😁

Don't eat each key event

parent 73f5eb74
...@@ -150,6 +150,8 @@ void AttachmentView::keyPressEvent(QKeyEvent *event) ...@@ -150,6 +150,8 @@ void AttachmentView::keyPressEvent(QKeyEvent *event)
for (const AttachmentPart::Ptr &part : qAsConst(toRemove)) { for (const AttachmentPart::Ptr &part : qAsConst(toRemove)) {
d->model->removeAttachment(part); d->model->removeAttachment(part);
} }
} else {
QTreeView::keyPressEvent(event);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment