Commit ab88b08d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add "modify" item

parent 1c4646bf
Pipeline #99856 canceled with stage
......@@ -107,6 +107,8 @@ void ArchiveMailWidget::slotCustomContextMenuRequested(const QPoint &)
menu.addAction(QIcon::fromTheme(QStringLiteral("list-add")), i18n("Add..."), this, &ArchiveMailWidget::slotAddItem);
if (!listItems.isEmpty()) {
if (listItems.count() == 1) {
menu.addSeparator();
menu.addAction(mWidget.modifyItem->text(), this, &ArchiveMailWidget::slotModifyItem);
menu.addSeparator();
menu.addAction(i18n("Open Containing Folder..."), this, &ArchiveMailWidget::slotOpenFolder);
}
......
Supports Markdown
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