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

Refresh message when we change display format

CCBUG: 419948
parent 8531710f
......@@ -589,7 +589,10 @@ void KMMainWidget::readPreConfig()
mEnableFavoriteFolderView = (KMKernel::self()->mailCommonSettings()->favoriteCollectionViewMode() != MailCommon::MailCommonSettings::EnumFavoriteCollectionViewMode::HiddenMode);
mEnableFolderQuickSearch = KMailSettings::self()->enableFolderQuickSearch();
}
void KMMainWidget::updateDisplayFormatMessage()
{
readFolderConfig();
updateHtmlMenuEntry();
if (mMsgView) {
......@@ -4762,8 +4765,7 @@ void KMMainWidget::slotRemoveDuplicateRecursive()
void KMMainWidget::slotUpdateConfig()
{
readFolderConfig();
updateHtmlMenuEntry();
updateDisplayFormatMessage();
}
void KMMainWidget::printCurrentMessage(bool preview)
......
......@@ -527,6 +527,7 @@ private:
void setShowStatusBarMessage(const QString &msg);
void slotRestartAccount();
void slotAccountSettings();
void updateDisplayFormatMessage();
// Message actions
QAction *mDeleteAction = nullptr;
......
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