summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-31 20:04:48 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-31 20:04:48 (GMT)
commit125c4630a939ced16a4bd54ab8223783f867dcd6 (patch)
treec745dbfb81a3e31fe71496e1ed059be52679362f
parentc523b0d5e58f87776215aacb985ac2abfc885ffd (diff)
Add separator
-rw-r--r--src/ksieveui/widgets/managesievewidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ksieveui/widgets/managesievewidget.cpp b/src/ksieveui/widgets/managesievewidget.cpp
index 9b97e54..192803f 100644
--- a/src/ksieveui/widgets/managesievewidget.cpp
+++ b/src/ksieveui/widgets/managesievewidget.cpp
@@ -164,8 +164,9 @@ void ManageSieveWidget::slotContextMenuRequested(const QPoint &p)
if (isFileNameItem(item)) {
// script items:
menu.addAction(i18n("Edit Script..."), this, &ManageSieveWidget::slotEditScript);
+ menu.addAction(QIcon::fromTheme(QStringLiteral("edit-rename")), i18n("Rename Script..."), this, &ManageSieveWidget::slotRenameScript);
+ menu.addSeparator();
menu.addAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Delete Script"), this, &ManageSieveWidget::slotDeleteScript);
- menu.addAction(QIcon::fromTheme(QStringLiteral("edit-rename")), i18n("Rename Script"), this, &ManageSieveWidget::slotRenameScript);
if (itemIsActived(item)) {
menu.addSeparator();
menu.addAction(i18n("Deactivate Script"), this, &ManageSieveWidget::slotDeactivateScript);