diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:20:34 +0300 |
commit | e1233ab2508be02b0bd59c90f42b1c3406b60564 (patch) | |
tree | 17eaec58892287d214a1c86aee18fdfdd0448f1c /src/gui | |
parent | 2363866d00316240e025ebf479536ac68510d4b4 (diff) | |
download | plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.gz plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.bz2 plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.tar.xz plus-e1233ab2508be02b0bd59c90f42b1c3406b60564.zip |
Remove copy to clipboard action in chat popup.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 7 |
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); |