Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 95f053f5 authored by Laurent Montel's avatar Laurent Montel 😁

Don't try to rename script with same name

parent 34b20aec
......@@ -393,6 +393,10 @@ void ManageSieveWidget::slotRenameScript()
return;
}
if (newName == currentItem->text(0)) {
return;
}
u = u.adjusted(QUrl::RemoveFilename);
u.setPath(u.path() + QLatin1Char('/') + currentItem->text(0));
#ifdef USE_RENAME_SIEVE_METHOD
......
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