diff options
-rw-r--r-- | kmail/kmmainwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp index bdae84d22..e438ee6d8 100644 --- a/kmail/kmmainwidget.cpp +++ b/kmail/kmmainwidget.cpp @@ -2033,6 +2033,11 @@ void KMMainWidget::folderSelected( KMFolder* aFolder, bool forceJumpToUnread ) this, TQ_SLOT( updateMarkAsReadAction() ) ); disconnect( mFolder, TQ_SIGNAL( msgRemoved( KMFolder * ) ), this, TQ_SLOT( updateMarkAsReadAction() ) ); + /* Disable all possible actions due to mFolder is loading */ + mFolder = nullptr; + mHeaders->setFolder( 0 ); + updateFolderMenu(); + updateMessageActions(); } mFolder = aFolder; |