summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 17:20:34 +0300
commite1233ab2508be02b0bd59c90f42b1c3406b60564 (patch)
tree17eaec58892287d214a1c86aee18fdfdd0448f1c /src/gui/popups/popupmenu.cpp
parent2363866d00316240e025ebf479536ac68510d4b4 (diff)
downloadmanaverse-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.gz
manaverse-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.bz2
manaverse-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.xz
manaverse-e1233ab2508be02b0bd59c90f42b1c3406b60564.zip
Remove copy to clipboard action in chat popup.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 74908fd98..9cc00b06d 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -810,7 +810,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab)
}
// TRANSLATORS: popup menu item
// TRANSLATORS: copy selected text to clipboard
- mBrowserBox->addRow("chat clipboard", _("Copy to clipboard"));
+ mBrowserBox->addRow("/chatclipboard 'X' 'Y'", _("Copy to clipboard"));
mBrowserBox->addRow("##3---");
if (type == ChatTabType::WHISPER)
@@ -1134,11 +1134,6 @@ void PopupMenu::handleLink(const std::string &link,
inputManager.executeChatCommand(InputAction::ENABLE_AWAY,
std::string(), mTab);
}
- else if (link == "chat clipboard" && mTab)
- {
- if (chatWindow)
- chatWindow->copyToClipboard(mX, mY);
- }
else if (link == "npc clipboard" && mBeingId != BeingId_zero)
{
NpcDialog::copyToClipboard(mBeingId, mX, mY);