From b5c840ae35a56cfca92eee24fdd3cbbfff397106 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Thu, 27 Oct 2016 13:11:26 +0200 Subject: [PATCH] Fix update menu action --- src/kmmainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp index 1fa3d8a05..7a3742aee 100644 --- a/src/kmmainwidget.cpp +++ b/src/kmmainwidget.cpp @@ -525,8 +525,6 @@ void KMMainWidget::folderSelected(const Akonadi::Collection &col) slotIntro(); } - updateMessageActions(); - updateFolderMenu(); // The message pane uses the selection model of the folder view to load the correct aggregation model and theme // settings. At this point the selection model hasn't been updated yet to the user's new choice, so it would load @@ -539,6 +537,8 @@ void KMMainWidget::slotShowSelectedFolderInPane() if (mCurrentFolder && mCurrentFolder->collection().isValid()) { mMessagePane->setCurrentFolder(mCurrentFolder->collection(), false, mPreSelectionMode); } + updateMessageActions(); + updateFolderMenu(); } void KMMainWidget::clearViewer()