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

Use old filename here

parent 37c47d5d
......@@ -382,7 +382,7 @@ void ManageSieveWidget::slotRenameScript()
return;
}
const QString newName = QInputDialog::getText(this, i18n("New Script Name"), i18n("Script Name:"), QLineEdit::Normal, u.fileName());
const QString newName = QInputDialog::getText(this, i18n("New Script Name"), i18n("Script Name:"), QLineEdit::Normal, currentItem->text(0));
if (newName.trimmed().isEmpty()) {
return;
}
......
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