Commit e476321e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 420327 reload email after changing html preference for contact

BUG: 420327
FIXED-IN: 5.14.1
parent fc2f2b73
......@@ -872,7 +872,11 @@ void KMReaderWin::slotContactEditorError(const QString &error)
void KMReaderWin::contactStored(const Akonadi::Item &item)
{
Q_UNUSED(item);
if (item.hasPayload<KContacts::Addressee>()) {
const KContacts::Addressee contact = item.payload<KContacts::Addressee>();
setContactItem(item, contact);
mViewer->slotChangeDisplayMail(mViewAsHtml->isChecked() ? Viewer::Html : Viewer::Text, mLoadExternalReference->isChecked());
}
KPIM::BroadcastStatus::instance()->setStatusMsg(i18n("Contact modified successfully"));
}
......
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