Commit 0b9a6539 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Disable export to pdf when we don't have message

parent 45147a5c
Pipeline #58156 passed with stage
in 13 minutes and 30 seconds
......@@ -362,7 +362,7 @@ void MessageActions::updateActions()
mPrintAction->setEnabled(mMessageView != nullptr);
mPrintPreviewAction->setEnabled(mMessageView != nullptr);
if (mCurrentItem.hasPayload<KMime::Message::Ptr>()) {
if (mCurrentItem.loadedPayloadParts().contains("RFC822")) {
Supports Markdown
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