Commit 709fb9a0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Disable export to pdf when we don't have message

parent 6f33c204
Pipeline #58157 passed with stage
in 22 minutes and 40 seconds
......@@ -371,7 +371,7 @@ void MessageActions::updateActions()
mPrintAction->setEnabled(mMessageView != nullptr);
mPrintPreviewAction->setEnabled(mMessageView != nullptr);
if (mCurrentItem.hasPayload<KMime::Message::Ptr>()) {
if (mCurrentItem.loadedPayloadParts().contains("RFC822")) {
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