summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2018-01-29 12:13:11 +0100
committerDavid Faure <[email protected]>2018-01-29 12:13:11 +0100
commitcd97358ca25b2665e016ab4d166d0fcf280c665d (patch)
tree071a714748bd54c1404d75644e1ce9f2f703cd70
parentb6a1e8378267c5357f2bb7ed5dff65ad48f08c61 (diff)
Fix caption when dropping text onto a snippet: this is about updating, not renaming
-rw-r--r--src/snippets/snippetsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snippets/snippetsmodel.cpp b/src/snippets/snippetsmodel.cpp
index 0ee5661..1494ed6 100644
--- a/src/snippets/snippetsmodel.cpp
+++ b/src/snippets/snippetsmodel.cpp
@@ -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);
}
}