summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 21:20:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 21:20:32 +0300
commit11bab6c211e60bfa7e50cf3de10429c1feaf9547 (patch)
tree932054e8ddf6699c333a254ddb82857fd10af0f8 /src/gui/popups/popupmenu.cpp
parent68291eca8eecf85a0b928ede37cd62d42e910d90 (diff)
downloadmanaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.gz
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.bz2
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.xz
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.zip
Add chat command for copy text to clipboard.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 829a87749..1d568d0d6 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1253,10 +1253,6 @@ void PopupMenu::handleLink(const std::string &link,
if (mTextField)
mTextField->handlePaste();
}
- else if (link == "clipboard link" && !mName.empty())
- {
- sendBuffer(mName);
- }
else if (link == "goto" && !mName.empty())
{
adminHandler->gotoName(mName);
@@ -2137,7 +2133,7 @@ void PopupMenu::showLinkPopup(const std::string &link)
mBrowserBox->addRow("/open 'NAME'", _("Open link"));
// TRANSLATORS: popup menu item
// TRANSLATORS: copy link to clipboard
- mBrowserBox->addRow("clipboard link", _("Copy to clipboard"));
+ mBrowserBox->addRow("/clipboardcopy 'NAME'", _("Copy to clipboard"));
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
// TRANSLATORS: close menu