Commit 78783c6f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't show "move" menu when col is not valid

parent 81f3fec1
Pipeline #27276 passed with stage
in 31 minutes and 42 seconds
......@@ -735,8 +735,11 @@ void KMReaderMainWin::showMessagePopup(const Akonadi::Item &msg, const QUrl &url
menu->addSeparator();
}
menu->addAction(copyActionMenu(menu));
menu->addAction(moveActionMenu(menu));
if (col.isValid()) {
menu->addAction(moveActionMenu(menu));
}
menu->addSeparator();
menu->addAction(mMsgActions->mailingListActionMenu());
......
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