Commit cd97358c authored by David Faure's avatar David Faure

Fix caption when dropping text onto a snippet: this is about updating, not renaming

parent b6a1e837
......@@ -383,7 +383,7 @@ bool SnippetsModel::dropMimeData(const QMimeData *data, Qt::DropAction action, i
if (item->isGroup()) {
Q_EMIT addNewDndSnippset(encodedData);
} else {
if (KMessageBox::Yes == KMessageBox::questionYesNo(nullptr, i18n("Do you want to update snippet?"), i18n("Rename snippet"))) {
if (KMessageBox::Yes == KMessageBox::questionYesNo(nullptr, i18n("Do you want to update snippet?"), i18n("Update snippet"))) {
item->setText(encodedData);
}
}
......
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