Commit 2223d17e authored by Laurent Montel's avatar Laurent Montel 😁

Clear menu otherwise we have a big mem leak

parent 7472fb54
......@@ -3809,6 +3809,7 @@ void KMMainWidget::updateMessageActionsDelayed()
if (currentMessage.hasFlag(Akonadi::MessageFlags::Encrypted) || count > 1) {
mCopyDecryptedActionMenu->setVisible(true);
mCopyDecryptedActionMenu->menu()->clear();
mAkonadiStandardActionManager->standardActionManager()->createActionFolderMenu(
mCopyDecryptedActionMenu->menu(),
Akonadi::StandardActionManager::CopyItemToMenu);
......
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