From e1233ab2508be02b0bd59c90f42b1c3406b60564 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Jan 2016 17:20:34 +0300 Subject: Remove copy to clipboard action in chat popup. --- src/gui/popups/popupmenu.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gui') 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); -- cgit v1.2.3-60-g2f50