diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:46:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 17:46:28 +0300 |
commit | c34858a4c7889483a8775c65c9bd1f357bca2572 (patch) | |
tree | 65f7d0492116d15bcb719800c86903e8d52e9311 /src/gui/popups/popupmenu.cpp | |
parent | e1233ab2508be02b0bd59c90f42b1c3406b60564 (diff) | |
download | manaverse-c34858a4c7889483a8775c65c9bd1f357bca2572.tar.gz manaverse-c34858a4c7889483a8775c65c9bd1f357bca2572.tar.bz2 manaverse-c34858a4c7889483a8775c65c9bd1f357bca2572.tar.xz manaverse-c34858a4c7889483a8775c65c9bd1f357bca2572.zip |
Remove copy to clipboard action in npc dialog popup.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 9cc00b06d..d79a2f92d 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1134,10 +1134,6 @@ void PopupMenu::handleLink(const std::string &link, inputManager.executeChatCommand(InputAction::ENABLE_AWAY, std::string(), mTab); } - else if (link == "npc clipboard" && mBeingId != BeingId_zero) - { - NpcDialog::copyToClipboard(mBeingId, mX, mY); - } else if (link == "remove pickup" && !mNick.empty()) { if (actorManager) @@ -2275,7 +2271,7 @@ void PopupMenu::showNpcDialogPopup(const BeingId npcId, mBrowserBox->clearRows(); // TRANSLATORS: popup menu item // TRANSLATORS: copy npc text to clipboard - mBrowserBox->addRow("npc clipboard", _("Copy to clipboard")); + mBrowserBox->addRow("/npcclipboard 'X' 'Y'", _("Copy to clipboard")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: close menu |